From 1c2fd192dfda6368f511b8343b6a2a96ef46f3f2 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Fri, 26 Feb 2021 17:26:13 -0700 Subject: [PATCH] dont block OS update for absent release notes --- ui/src/app/components/install-wizard/prebaked-wizards.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/src/app/components/install-wizard/prebaked-wizards.ts b/ui/src/app/components/install-wizard/prebaked-wizards.ts index 3ebfb36c3..1b0a70094 100644 --- a/ui/src/app/components/install-wizard/prebaked-wizards.ts +++ b/ui/src/app/components/install-wizard/prebaked-wizards.ts @@ -80,16 +80,13 @@ export class WizardBaker { }): InstallWizardComponent['params'] { const { version, releaseNotes } = values - validate(version, exists, 'missing version') - validate(releaseNotes, exists, 'missing updateMessage') - const action = 'update' const title = 'EmbassyOS' const toolbar: TopbarParams = { action, title, version } const slideDefinitions: SlideDefinition[] = [ { selector: 'notes', cancelButton: { afterLoading: { text: 'Cancel' } }, nextButton: 'Update OS', params: { - action, notes: releaseNotes, title: 'Release Notes', titleColor: 'dark', + action, notes: releaseNotes || 'No release notes for this version', title: 'Release Notes', titleColor: 'dark', }}, { selector: 'complete', finishButton: 'Dismiss', cancelButton: { whileLoading: { } }, params: { action, verb: 'beginning update for', title, executeAction: () => this.updateService.updateEmbassyOS(version),