minor changes + changed some routes

This commit is contained in:
X4Lo committed 2024-04-30 22:23:43 +01:00
1 parent cea1b207a3
commit 537763ff7d
7 files changed
+15 -14

No files matched your search

@@ -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