diff --git a/.changelog/17319.txt b/.changelog/17319.txt new file mode 100644 index 000000000..0cecdd827 --- /dev/null +++ b/.changelog/17319.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: fixed a handful of UX-related bugs during variable editing +``` diff --git a/ui/app/components/variable-form.hbs b/ui/app/components/variable-form.hbs index 0b1c2ed7f..7780f71a5 100644 --- a/ui/app/components/variable-form.hbs +++ b/ui/app/components/variable-form.hbs @@ -14,6 +14,17 @@ Format: nomad/jobs/<jobname>, nomad/jobs/<jobname>/<groupname>, nomad/jobs/<jobname>/<groupname>/<taskname>

{{/unless}} + + {{#if this.shouldShowLinkedEntities}} + + {{/if}} + {{/if}} {{#if this.hasConflict}} @@ -137,6 +148,7 @@ class="delete-row button is-danger is-inverted" type="button" {{on "click" (action this.deleteRow entry)}} + disabled={{eq this.keyValues.length 1}} > Delete @@ -150,16 +162,6 @@ {{/if}} {{/if}} - {{#if (and this.shouldShowLinkedEntities @model.isNew)}} - - {{/if}} -