From f12d97122a4859498d40a8dbd95a653849c92e88 Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Tue, 16 Mar 2021 11:13:52 -0600 Subject: [PATCH] ui: edited dot on union enum --- ui/src/app/modals/app-config-union/app-config-union.page.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/src/app/modals/app-config-union/app-config-union.page.ts b/ui/src/app/modals/app-config-union/app-config-union.page.ts index 651d1e242..0ec5aba81 100644 --- a/ui/src/app/modals/app-config-union/app-config-union.page.ts +++ b/ui/src/app/modals/app-config-union/app-config-union.page.ts @@ -19,6 +19,7 @@ export class AppConfigUnionPage { spec: ValueSpecUnion value: object error: string + edited: boolean constructor ( private readonly modalCtrl: ModalController, @@ -28,6 +29,7 @@ export class AppConfigUnionPage { this.spec = this.cursor.spec() this.value = this.cursor.config() this.error = this.cursor.checkInvalid() + this.edited = this.cursor.seekNext(this.spec.tag.id).isEdited() } async dismiss () { @@ -38,6 +40,7 @@ export class AppConfigUnionPage { this.value = mapUnionSpec(this.spec, this.value) this.objectConfig.annotations = this.objectConfig.cursor.getAnnotations() this.error = this.cursor.checkInvalid() + this.edited = this.cursor.seekNext(this.spec.tag.id).isEdited() } setSelectOptions () {