web/admin: fix linting error

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-06-26 22:30:33 +02:00
parent 0403f6d373
commit 4ec5df6b12
4 changed files with 25 additions and 3 deletions

View File

@ -36,10 +36,10 @@ export class UserSettingsPage extends LitElement {
return [PFBase, PFPage, PFFlex, PFDisplay, PFGallery, PFContent, PFCard, PFDescriptionList, PFSizing, PFForm, PFFormControl, AKGlobal];
}
@property()
@property({attribute: false})
userSettings?: Promise<UserSetting[]>;
@property()
@property({attribute: false})
sourceSettings?: Promise<UserSetting[]>;
constructor() {
@ -49,7 +49,7 @@ export class UserSettingsPage extends LitElement {
});
}
firstUpdated() {
firstUpdated(): void {
this.userSettings = new StagesApi(DEFAULT_CONFIG).stagesAllUserSettingsList();
this.sourceSettings = new SourcesApi(DEFAULT_CONFIG).sourcesAllUserSettingsList();
}