We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 630e79b commit 745c8feCopy full SHA for 745c8fe
apps/admin-gui/src/app/users/pages/user-detail-page/user-bans/user-bans.component.ts
@@ -49,7 +49,7 @@ export class UserBansComponent implements OnInit {
49
ngOnInit(): void {
50
this.loading = true;
51
this.user = this.entityService.getEntity();
52
- this.refreshResourceBans();
+ this.refreshVoBans();
53
}
54
55
refreshVoBans(): void {
@@ -117,9 +117,9 @@ export class UserBansComponent implements OnInit {
117
118
119
refresh(change: MatTabChangeEvent): void {
120
- if (change.index === -1) {
+ if (change.index === 0) {
121
this.refreshVoBans();
122
- } else if (change.index === 0) {
+ } else if (change.index === 1) {
123
this.refreshResourceBans();
124
} else {
125
this.refreshFacilityBans();
0 commit comments