[WIP] Switched to gql #162-2
This commit is contained in:
@@ -17,7 +17,7 @@ export class SidebarComponent implements OnInit {
|
||||
isSidebarOpen: boolean = true;
|
||||
menuItems!: MenuItem[];
|
||||
|
||||
private serverId!: number;
|
||||
private serverId?: number;
|
||||
|
||||
constructor(
|
||||
private authService: AuthService,
|
||||
@@ -40,7 +40,7 @@ export class SidebarComponent implements OnInit {
|
||||
return;
|
||||
}
|
||||
|
||||
this.serverId = server.serverId;
|
||||
this.serverId = server.id;
|
||||
this.setMenu();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user