more styling

This commit is contained in:
Matt Hill
2021-07-02 13:56:34 -06:00
committed by Aiden McClelland
parent 5eaa51d22d
commit d9f1c9b021
32 changed files with 314 additions and 271 deletions

View File

@@ -113,12 +113,8 @@ export class AppComponent {
}
watchPatch (): void {
combineLatest([
this.patch.watch$('ui', 'server-name'),
this.patch.watch$('server-info', 'unread-notification-count'),
])
.subscribe(([name, unread]) => {
this.serverName = name
this.patch.watch$('server-info', 'unread-notification-count')
.subscribe(unread => {
this.unreadCount = unread
})
}
@@ -233,7 +229,7 @@ export class AppComponent {
side: 'end',
text: 'View',
handler: () => {
this.router.navigate(['/notifications'])
this.router.navigate(['/notifications'], { queryParams: { toast: true } })
},
},
],