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