mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
fix: dependency table sometimes giving up on life
This commit is contained in:
parent
e9ddb9040d
commit
f718f34e82
@ -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"
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user