extend environment and use injected app config

This commit is contained in:
William Welling
2021-12-06 16:54:55 -06:00
parent 71f5b46639
commit 33488ccf40
25 changed files with 742 additions and 1203 deletions

View File

@@ -32,7 +32,7 @@ export class RootComponent implements OnInit {
collapsedSidebarWidth: Observable<string>;
totalSidebarWidth: Observable<string>;
theme: Observable<ThemeConfig> = of({} as any);
notificationOptions = environment.notifications;
notificationOptions;
models;
/**
@@ -58,6 +58,7 @@ export class RootComponent implements OnInit {
private menuService: MenuService,
private windowService: HostWindowService
) {
this.notificationOptions = environment.notifications;
}
ngOnInit() {