Skip database migration check on demo (#21525)

This commit is contained in:
Bram Kragten 2024-08-01 10:54:14 +02:00 committed by GitHub
parent 1ca0b58aca
commit 0c3471e0b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -200,6 +200,11 @@ export class HomeAssistantAppEl extends QuickBarMixin(HassElement) {
}
protected async checkDataBaseMigration() {
if (__DEMO__) {
this._databaseMigration = false;
return;
}
let recorderInfoProm: Promise<RecorderInfo> | undefined;
const preloadWindow = window as WindowWithPreloads;
// On first load, we speed up loading page by having recorderInfoProm ready