fix domain ban deleting and refresh domain bans on action
This commit is contained in:
parent
2f412057cc
commit
4f6abd3e66
|
@ -469,10 +469,9 @@ class StatusBar(ComponentBase):
|
|||
|
||||
elif action == 'delete':
|
||||
acct.api.admin_domains_unblock(row.id)
|
||||
del row.domain
|
||||
self.window.notification(f'Unblocked domain: {row.domain}')
|
||||
|
||||
elif action == 'refresh':
|
||||
elif action in {'refresh', 'save', 'delete'}:
|
||||
Thread(target=self.fediban_refresh, kwargs={'force': True}).start()
|
||||
|
||||
if action in {'save', 'delete', 'close'}:
|
||||
|
|
Reference in a new issue