Fix local account only as edit user
This commit is contained in:
parent
e5677b21e7
commit
ccee4d8136
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ module Admin
|
|||
return @edit_account_id || @account.id if @edit_account_checked
|
||||
|
||||
@edit_account_checked = true
|
||||
@edit_account_id = Account.find_by(username: 'official')&.id || @account.id
|
||||
@edit_account_id = Account.local.find_by(username: 'official')&.id || @account.id
|
||||
end
|
||||
|
||||
def filter_params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue