mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
more styling
This commit is contained in:
committed by
Aiden McClelland
parent
da3aa0a2a7
commit
b16ef3c621
@@ -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 } })
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user