diff options
Diffstat (limited to 'client/src/app/+my-library/my-library.component.ts')
-rw-r--r-- | client/src/app/+my-library/my-library.component.ts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/client/src/app/+my-library/my-library.component.ts b/client/src/app/+my-library/my-library.component.ts index 0cc91e484..939aa84c8 100644 --- a/client/src/app/+my-library/my-library.component.ts +++ b/client/src/app/+my-library/my-library.component.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { Component, OnInit } from '@angular/core' | 1 | import { Component, OnInit } from '@angular/core' |
2 | import { AuthService, AuthUser, ScreenService, ServerService } from '@app/core' | 2 | import { AuthService, AuthUser, ScreenService, ServerService } from '@app/core' |
3 | import { ServerConfig } from '@shared/models' | 3 | import { HTMLServerConfig } from '@shared/models' |
4 | import { TopMenuDropdownParam } from '../shared/shared-main/misc/top-menu-dropdown.component' | 4 | import { TopMenuDropdownParam } from '../shared/shared-main/misc/top-menu-dropdown.component' |
5 | 5 | ||
6 | @Component({ | 6 | @Component({ |
@@ -11,7 +11,8 @@ export class MyLibraryComponent implements OnInit { | |||
11 | menuEntries: TopMenuDropdownParam[] = [] | 11 | menuEntries: TopMenuDropdownParam[] = [] |
12 | user: AuthUser | 12 | user: AuthUser |
13 | 13 | ||
14 | private serverConfig: ServerConfig | 14 | |
15 | private serverConfig: HTMLServerConfig | ||
15 | 16 | ||
16 | constructor ( | 17 | constructor ( |
17 | private serverService: ServerService, | 18 | private serverService: ServerService, |
@@ -24,9 +25,7 @@ export class MyLibraryComponent implements OnInit { | |||
24 | } | 25 | } |
25 | 26 | ||
26 | ngOnInit (): void { | 27 | ngOnInit (): void { |
27 | this.serverConfig = this.serverService.getTmpConfig() | 28 | this.serverConfig = this.serverService.getHTMLConfig() |
28 | this.serverService.getConfig() | ||
29 | .subscribe(config => this.serverConfig = config) | ||
30 | 29 | ||
31 | this.user = this.authService.getUser() | 30 | this.user = this.authService.getUser() |
32 | 31 | ||