mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 07:16:39 +00:00
Skip database migration check on demo (#21525)
This commit is contained in:
parent
1ca0b58aca
commit
0c3471e0b7
@ -200,6 +200,11 @@ export class HomeAssistantAppEl extends QuickBarMixin(HassElement) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected async checkDataBaseMigration() {
|
protected async checkDataBaseMigration() {
|
||||||
|
if (__DEMO__) {
|
||||||
|
this._databaseMigration = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
let recorderInfoProm: Promise<RecorderInfo> | undefined;
|
let recorderInfoProm: Promise<RecorderInfo> | undefined;
|
||||||
const preloadWindow = window as WindowWithPreloads;
|
const preloadWindow = window as WindowWithPreloads;
|
||||||
// On first load, we speed up loading page by having recorderInfoProm ready
|
// On first load, we speed up loading page by having recorderInfoProm ready
|
||||||
|
Loading…
x
Reference in New Issue
Block a user