Reload user table when setting an email to verified
authorChocobozzz <me@florianbigard.com>
Wed, 21 Nov 2018 16:11:56 +0000 (17:11 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 21 Nov 2018 16:11:56 +0000 (17:11 +0100)
client/src/app/shared/moderation/user-moderation-dropdown.component.ts

index 47967f8e57f9e9ac188ea57b92f72c646086cef3..d391246e00ec4affb7f2bcbb406dbada059af4e6 100644 (file)
@@ -109,6 +109,8 @@ export class UserModerationDropdownComponent implements OnChanges {
           this.i18n('Success'),
           this.i18n('User {{username}} email set as verified', { username: user.username })
         )
+
+        this.userChanged.emit()
       },
 
       err => this.notificationsService.error(this.i18n('Error'), err.message)