From f1c2ac5e58d28f9aa5582998da265f24b34bfb25 Mon Sep 17 00:00:00 2001 From: Caramel Date: Fri, 1 Nov 2024 20:08:56 +0100 Subject: [PATCH] For now disable compat check --- .../util/compatibilitiy-manager/compatibility.service.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/util/compatibilitiy-manager/compatibility.service.ts b/frontend/src/app/util/compatibilitiy-manager/compatibility.service.ts index 9cea86a..36c044e 100644 --- a/frontend/src/app/util/compatibilitiy-manager/compatibility.service.ts +++ b/frontend/src/app/util/compatibilitiy-manager/compatibility.service.ts @@ -1,5 +1,5 @@ import { Inject, Injectable } from '@angular/core'; -import { HISTORY } from '@ng-web-apis/common'; +import { WA_HISTORY } from '@ng-web-apis/common'; import { HasFailed } from 'picsur-shared/dist/types/failable'; import { InfoService } from '../../services/api/info.service'; import { Logger } from '../../services/logger/logger.service'; @@ -16,9 +16,10 @@ export class CompatibilityService { private readonly infoService: InfoService, private readonly errorService: ErrorService, private readonly dialogService: DialogService, - @Inject(HISTORY) private readonly history: History, + @Inject(WA_HISTORY) private readonly history: History, ) { - this.checkCompatibility().catch(this.logger.error); + // TODO: Better compatibility check + //this.checkCompatibility().catch(this.logger.error); } // eslint-disable-next-line @typescript-eslint/no-empty-function