From: Chocobozzz Date: Wed, 21 Nov 2018 16:11:56 +0000 (+0100) Subject: Reload user table when setting an email to verified X-Git-Tag: v1.1.0-rc.1~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a99e2d9448f12ebfb7e824fd34470b52206fd7a8;p=oweals%2Fpeertube.git Reload user table when setting an email to verified --- 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 { 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)