mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
ui: edited dot on union enum
This commit is contained in:
committed by
Keagan McClelland
parent
ba9b3519de
commit
f12d97122a
@@ -19,6 +19,7 @@ export class AppConfigUnionPage {
|
|||||||
spec: ValueSpecUnion
|
spec: ValueSpecUnion
|
||||||
value: object
|
value: object
|
||||||
error: string
|
error: string
|
||||||
|
edited: boolean
|
||||||
|
|
||||||
constructor (
|
constructor (
|
||||||
private readonly modalCtrl: ModalController,
|
private readonly modalCtrl: ModalController,
|
||||||
@@ -28,6 +29,7 @@ export class AppConfigUnionPage {
|
|||||||
this.spec = this.cursor.spec()
|
this.spec = this.cursor.spec()
|
||||||
this.value = this.cursor.config()
|
this.value = this.cursor.config()
|
||||||
this.error = this.cursor.checkInvalid()
|
this.error = this.cursor.checkInvalid()
|
||||||
|
this.edited = this.cursor.seekNext(this.spec.tag.id).isEdited()
|
||||||
}
|
}
|
||||||
|
|
||||||
async dismiss () {
|
async dismiss () {
|
||||||
@@ -38,6 +40,7 @@ export class AppConfigUnionPage {
|
|||||||
this.value = mapUnionSpec(this.spec, this.value)
|
this.value = mapUnionSpec(this.spec, this.value)
|
||||||
this.objectConfig.annotations = this.objectConfig.cursor.getAnnotations()
|
this.objectConfig.annotations = this.objectConfig.cursor.getAnnotations()
|
||||||
this.error = this.cursor.checkInvalid()
|
this.error = this.cursor.checkInvalid()
|
||||||
|
this.edited = this.cursor.seekNext(this.spec.tag.id).isEdited()
|
||||||
}
|
}
|
||||||
|
|
||||||
setSelectOptions () {
|
setSelectOptions () {
|
||||||
|
|||||||
Reference in New Issue
Block a user