lint, fix users groups load fail
This commit is contained in:
parent
0f4aebcac5
commit
f4c1d7b4a2
@ -53,6 +53,7 @@ export class UsersAndGroupsComponent
|
||||
this.users = r.results
|
||||
},
|
||||
error: (e) => {
|
||||
this.users = []
|
||||
this.toastService.showError($localize`Error retrieving users`, e)
|
||||
},
|
||||
})
|
||||
@ -65,6 +66,7 @@ export class UsersAndGroupsComponent
|
||||
this.groups = r.results
|
||||
},
|
||||
error: (e) => {
|
||||
this.groups = []
|
||||
this.toastService.showError($localize`Error retrieving groups`, e)
|
||||
},
|
||||
})
|
||||
@ -77,6 +79,7 @@ export class UsersAndGroupsComponent
|
||||
this.ssoGroups = r.results
|
||||
},
|
||||
error: (e) => {
|
||||
this.ssoGroups = []
|
||||
this.toastService.showError($localize`Error retrieving SSO groups`, e)
|
||||
},
|
||||
})
|
||||
|
@ -11,7 +11,7 @@ import { SsoGroupService } from '../../../../services/rest/sso-group.service'
|
||||
import { first } from 'rxjs'
|
||||
|
||||
@Component({
|
||||
selector: 'app-sso-group-edit-dialog',
|
||||
selector: 'pngx-sso-group-edit-dialog',
|
||||
templateUrl: './sso-group-edit-dialog.component.html',
|
||||
styleUrls: ['./sso-group-edit-dialog.component.scss'],
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user