mirror of https://github.com/Fabio286/antares.git
refactor: improved SET field edit
This commit is contained in:
parent
d698f2798a
commit
da56905572
|
@ -382,7 +382,7 @@ const isBaseSelectField = computed(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const enumArray = computed(() => {
|
const enumArray = computed(() => {
|
||||||
if (props.fields[editingField.value] && props.fields[editingField.value].enumValues)
|
if (props.fields[editingField.value] && props.fields[editingField.value].enumValues && props.fields[editingField.value].type !== 'SET')
|
||||||
return props.fields[editingField.value].enumValues.replaceAll('\'', '').split(',');
|
return props.fields[editingField.value].enumValues.replaceAll('\'', '').split(',');
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue