@@ -89,7 +89,7 @@ export class ElementACLDialogComponent implements OnInit {
8989
9090 async onCopySuccess ( evt ) {
9191 const msg = await this . _i18n . t ( 'Copied' ) ;
92- this . _toastr . success ( msg , '' ) ;
92+ this . _toastr . success ( msg , '' , { nzClass : 'custom-success-notification' } ) ;
9393 writeText ( evt ) ;
9494 }
9595
@@ -119,7 +119,7 @@ export class ElementACLDialogComponent implements OnInit {
119119 this . content = this . getDialogContent ( this . code ) ;
120120 } else {
121121 const msg = await this . _i18n . t ( 'Face verify success' ) ;
122- this . _toastr . success ( msg , '' ) ;
122+ this . _toastr . success ( msg , '' , { nzClass : 'custom-success-notification' } ) ;
123123 this . dialogRef . close ( connToken ) ;
124124 this . faceService . openFaceMonitor ( ) ;
125125 }
@@ -174,7 +174,7 @@ export class ElementACLDialogComponent implements OnInit {
174174 this . content = this . getDialogContent ( this . code ) ;
175175 } else {
176176 const msg = await this . _i18n . t ( 'Face verify success' ) ;
177- this . _toastr . success ( msg , '' ) ;
177+ this . _toastr . success ( msg , '' , { nzClass : 'custom-success-notification' } ) ;
178178 this . dialogRef . close ( connToken ) ;
179179 }
180180 }
@@ -274,10 +274,12 @@ export class ElementACLDialogComponent implements OnInit {
274274 this . code = 'ticket_review_pending' ;
275275 return ;
276276 }
277+
277278 const state = ticket . state . value ;
279+
278280 if ( state === 'approved' ) {
279281 const msg = await this . _i18n . t ( 'Login review approved' ) ;
280- this . _toastr . success ( msg , '' ) ;
282+ this . _toastr . success ( msg , '' , { nzClass : 'custom-success-notification' } ) ;
281283 this . dialogRef . close ( this . connectionToken ) ;
282284 } else if ( state === 'rejected' ) {
283285 this . code = 'ticket_review_rejected' ;
0 commit comments