mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-01 09:56:54 +01:00
fix: empty query tab schema select if no schema selected
This commit is contained in:
parent
caf776bd55
commit
31b7999bba
@ -154,7 +154,7 @@ export default defineComponent({
|
||||
if (typeof prop === 'function')
|
||||
return prop(item);
|
||||
|
||||
return item[prop] || item;
|
||||
return item[prop] !== undefined ? item[prop] : item;
|
||||
};
|
||||
|
||||
const flattenOptions = computed(() => {
|
||||
|
@ -151,7 +151,7 @@
|
||||
|
||||
<BaseSelect
|
||||
v-model="selectedSchema"
|
||||
:options="[{value: 'null', label: $t('message.noSchema')}, ...databaseSchemas.map(el => ({label: el, value: el}))]"
|
||||
:options="[{value: null, label: $t('message.noSchema')}, ...databaseSchemas.map(el => ({label: el, value: el}))]"
|
||||
class="form-select select-sm text-bold"
|
||||
/>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user