mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
unbreak tests
This commit is contained in:
parent
26e8b2c1b3
commit
59b2189909
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ export default {
|
||||||
syncedSettings = this.getSyncedSettings();
|
syncedSettings = this.getSyncedSettings();
|
||||||
}
|
}
|
||||||
if (!syncedSettings || !syncedSettings.theme) {
|
if (!syncedSettings || !syncedSettings.theme) {
|
||||||
theme = SdkConfig.get().default_theme || 'light';
|
theme = (SdkConfig.get() ? SdkConfig.get().default_theme : undefined) || 'light';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
theme = syncedSettings.theme;
|
theme = syncedSettings.theme;
|
||||||
|
|
Loading…
Reference in a new issue