mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
more styling
This commit is contained in:
committed by
Aiden McClelland
parent
5eaa51d22d
commit
d9f1c9b021
@@ -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