File tree 2 files changed +4
-1
lines changed
src/app/services/connect-token/acl-dialog
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ <h2 mat-dialog-title> {{ 'Login reminder' | translate }} </h2>
23
23
24
24
< div *ngSwitchCase ="'acl_face_online_not_supported' ">
25
25
< mat-dialog-content >
26
- < div class ="error-message "> {{ 'ACL action "Face Online" not supported for this asset.' |translate }}</ div >
26
+ < div class ="error-message "> {{errorDetail }}</ div >
27
27
</ mat-dialog-content >
28
28
< mat-dialog-actions >
29
29
< button (click) ="closeDialog() " mat-raised-button > {{ "Close" | translate }}</ button >
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ export class ElementACLDialogComponent implements OnInit {
49
49
if ( Array . isArray ( error ) ) {
50
50
error = error . join ( ' ' ) ;
51
51
} else if ( typeof error === 'object' ) {
52
+ if ( error . detail ) {
53
+ error = error . detail ;
54
+ }
52
55
error = JSON . stringify ( error ) ;
53
56
}
54
57
return error ;
You can’t perform that action at this time.
0 commit comments