[chore] Update jslib (#1415)

This commit is contained in:
Addison Beck 2022-01-28 09:07:33 -05:00 committed by GitHub
parent dc503d3461
commit 6996b06fa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

2
jslib

@ -1 +1 @@
Subproject commit 6b4ed5fcce58c21a9977d94ebb65f954d6766548
Subproject commit e372bf242b24f55c1142e33693ad2c801ab74c93

View File

@ -75,7 +75,7 @@ export function initFactory(
const urls = process.env.URLS as Urls;
urls.base ??= window.location.origin;
environmentService.setUrls(urls, false);
environmentService.setUrls(urls);
setTimeout(() => notificationsService.init(), 3000);

View File

@ -19,7 +19,7 @@ export class OptionsComponent implements OnInit {
disableIcons: boolean;
enableGravatars: boolean;
enableFullWidth: boolean;
theme: string = null;
theme: ThemeType = ThemeType.Light;
locale: string;
vaultTimeouts: { name: string; value: number }[];
localeOptions: any[];
@ -28,7 +28,7 @@ export class OptionsComponent implements OnInit {
vaultTimeout: FormControl = new FormControl(null);
private startingLocale: string;
private startingTheme: string;
private startingTheme: ThemeType = ThemeType.Light;
constructor(
private stateService: StateService,