Change sign-in banner to reflect disabled or moved account status (#19773)
This commit is contained in:
parent
0498b106c9
commit
312d616371
8 changed files with 127 additions and 3 deletions
|
@ -2,7 +2,8 @@
|
|||
|
||||
class InitialStatePresenter < ActiveModelSerializers::Model
|
||||
attributes :settings, :push_subscription, :token,
|
||||
:current_account, :admin, :owner, :text, :visibility
|
||||
:current_account, :admin, :owner, :text, :visibility,
|
||||
:disabled_account, :moved_to_account
|
||||
|
||||
def role
|
||||
current_account&.user_role
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue