Skip to content

Commit

Permalink
fix: dependency table sometimes giving up on life
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniDigger committed Oct 28, 2023
1 parent 35b2163 commit a06b71b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/projects/DependencyTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ defineExpose({ dependencies, reset });
<InputText
v-model.trim="dep.externalUrl"
:placeholder="t('version.new.form.externalUrl')"
:disabled="(dep.namespace !== null && Object.keys(dep.namespace).length !== 0) || noEditing"
:rules="dep.namespace !== null && Object.keys(dep.namespace).length !== 0 ? [] : [required(t('version.new.form.externalUrl'))]"
:disabled="(dep.namespace && Object.keys(dep.namespace).length !== 0) || noEditing"
:rules="dep.namespace && Object.keys(dep.namespace).length !== 0 ? [] : [required(t('version.new.form.externalUrl'))]"
clearable
@change="dep.namespace = null"
/>
Expand Down

0 comments on commit a06b71b

Please sign in to comment.