minor changes + changed some routes
This commit is contained in:
1 parent
cea1b207a3
commit
537763ff7d
7 files changed
+15
-14
No files matched your search
@@ -112,6 +112,10 @@
|
||||
color: black;
|
||||
}
|
||||
|
||||
[data-bs-theme=dark] .right-col .entry-actions span {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.right-col .entry-actions span:hover {
|
||||
color: var(--shz-blue-default);
|
||||
}
|
||||
|
||||
@@ -24,13 +24,12 @@ export class LibraryComponent {
|
||||
ngOnInit() {
|
||||
this.pageSize = this.getDefaultPageSize();
|
||||
this.getEntries(true);
|
||||
|
||||
this.router.events.subscribe((event) => {
|
||||
if (event instanceof NavigationEnd && event.url === '/library') {
|
||||
this.pageSize = this.getDefaultPageSize();
|
||||
this.getEntries(true);
|
||||
}
|
||||
});
|
||||
// this.router.events.subscribe((event) => {
|
||||
// if (event instanceof NavigationEnd && event.url === '/library') {
|
||||
// this.pageSize = this.getDefaultPageSize();
|
||||
// this.getEntries(true);
|
||||
// }
|
||||
// });
|
||||
}
|
||||
|
||||
// ? uses libraryService to get library all entries
|
||||
|
||||
Reference in new issue
Block a user