fix: fix build after minor merged into major

This commit is contained in:
waterplea
2024-08-15 12:40:49 +04:00
parent b43ad93c54
commit a730543c76
189 changed files with 714 additions and 3652 deletions

View File

@@ -17,4 +17,4 @@ const ROUTES: Routes = [
@NgModule({
imports: [RouterModule.forChild(ROUTES)],
})
export class DiagnosticModule {}
export default class DiagnosticModule {}

View File

@@ -25,14 +25,6 @@
{{ error.code === 15 ? 'Setup Current Drive' : 'Enter Recovery Mode'}}
</button>
<button
tuiButton
appearance="secondary-warning"
(click)="presentAlertSystemRebuild()"
>
System Rebuild
</button>
<button
tuiButton
appearance="secondary-destructive"

View File

@@ -1,6 +1,6 @@
import { TUI_CONFIRM } from '@taiga-ui/kit'
import { Component, Inject } from '@angular/core'
import { WINDOW } from '@ng-web-apis/common'
import { WA_WINDOW } from '@ng-web-apis/common'
import { LoadingService } from '@start9labs/shared'
import { TuiDialogService } from '@taiga-ui/core'
import { filter } from 'rxjs'
@@ -24,7 +24,7 @@ export class HomePage {
private readonly loader: LoadingService,
private readonly api: ApiService,
private readonly dialogs: TuiDialogService,
@Inject(WINDOW) private readonly window: Window,
@Inject(WA_WINDOW) private readonly window: Window,
) {}
async ngOnInit() {