Skip to content

Commit

Permalink
Fix missing ref when editing env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
maggie44 committed Aug 17, 2022
1 parent 5485ae1 commit cad1a71
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/src/components/SystemEnvConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@
<q-btn
:label="$t('general.submit')"
v-bind="qBtnStyle"
:disable="!newVarValue || !newVarKey || refNewVarKey.hasError"
:disable="
!newVarValue ||
!newVarKey ||
(refNewVarKey && refNewVarKey.hasError)
"
@click="setEnv()"
/>
</q-card-actions>
Expand Down

0 comments on commit cad1a71

Please sign in to comment.