mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fix admin options not showing up
This commit is contained in:
@ -192,7 +192,7 @@ const ComponentInstance: React.FC<Props> = ({
|
||||
const processUpdate = useCallback(() => {
|
||||
if (domain) {
|
||||
const accounts = getGlobalStorage.object('accounts')
|
||||
if (accounts && accounts.filter(account => account.startsWith(`${domain}/`)).length) {
|
||||
if (accounts?.filter(account => account.startsWith(`${domain}/`)).length) {
|
||||
Alert.alert(
|
||||
t('componentInstance:update.alert.title'),
|
||||
t('componentInstance:update.alert.message'),
|
||||
|
Reference in New Issue
Block a user