diff --git a/frontend/projects/ui/src/app/app.component.ts b/frontend/projects/ui/src/app/app.component.ts index 419622c8e..808072db1 100644 --- a/frontend/projects/ui/src/app/app.component.ts +++ b/frontend/projects/ui/src/app/app.component.ts @@ -215,7 +215,7 @@ export class AppComponent { } private checkForEosUpdate(ui: UIData): void { - if (ui['auto-check-updates']) { + if (ui['auto-check-updates'] !== false) { this.eosService.getEOS() } } diff --git a/frontend/projects/ui/src/app/pages/server-routes/preferences/preferences.page.html b/frontend/projects/ui/src/app/pages/server-routes/preferences/preferences.page.html index 85af3bb34..8900117c2 100644 --- a/frontend/projects/ui/src/app/pages/server-routes/preferences/preferences.page.html +++ b/frontend/projects/ui/src/app/pages/server-routes/preferences/preferences.page.html @@ -18,12 +18,12 @@ Marketplace Auto Check for Updates {{ patch.data.ui['auto-check-updates'] ? 'Enabled' : 'Disabled' - }}{{ patch.data.ui['auto-check-updates'] !== false ? 'Enabled' : + 'Disabled' }} diff --git a/frontend/projects/ui/src/app/services/api/mock-patch.ts b/frontend/projects/ui/src/app/services/api/mock-patch.ts index 06c548334..1ef6b9624 100644 --- a/frontend/projects/ui/src/app/services/api/mock-patch.ts +++ b/frontend/projects/ui/src/app/services/api/mock-patch.ts @@ -11,7 +11,7 @@ import { export const mockPatchData: DataModel = { ui: { name: `Matt's Embassy`, - 'auto-check-updates': true, + 'auto-check-updates': undefined, 'pkg-order': [], 'ack-welcome': '1.0.0', marketplace: undefined,