diff options
author | Chocobozzz <me@florianbigard.com> | 2018-11-21 17:11:56 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-11-21 17:11:56 +0100 |
commit | a99e2d9448f12ebfb7e824fd34470b52206fd7a8 (patch) | |
tree | 82b8750d6638feffe6b73f75ca68199186a82bad | |
parent | f97c91f7ec4afc26ab790fbefa63d11b3060f40f (diff) | |
download | PeerTube-a99e2d9448f12ebfb7e824fd34470b52206fd7a8.tar.gz PeerTube-a99e2d9448f12ebfb7e824fd34470b52206fd7a8.tar.zst PeerTube-a99e2d9448f12ebfb7e824fd34470b52206fd7a8.zip |
Reload user table when setting an email to verified
-rw-r--r-- | client/src/app/shared/moderation/user-moderation-dropdown.component.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/shared/moderation/user-moderation-dropdown.component.ts b/client/src/app/shared/moderation/user-moderation-dropdown.component.ts index 47967f8e5..d391246e0 100644 --- a/client/src/app/shared/moderation/user-moderation-dropdown.component.ts +++ b/client/src/app/shared/moderation/user-moderation-dropdown.component.ts | |||
@@ -109,6 +109,8 @@ export class UserModerationDropdownComponent implements OnChanges { | |||
109 | this.i18n('Success'), | 109 | this.i18n('Success'), |
110 | this.i18n('User {{username}} email set as verified', { username: user.username }) | 110 | this.i18n('User {{username}} email set as verified', { username: user.username }) |
111 | ) | 111 | ) |
112 | |||
113 | this.userChanged.emit() | ||
112 | }, | 114 | }, |
113 | 115 | ||
114 | err => this.notificationsService.error(this.i18n('Error'), err.message) | 116 | err => this.notificationsService.error(this.i18n('Error'), err.message) |