1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix: select of table type stuck when editing an unknown type

This commit is contained in:
2023-02-04 11:34:53 +01:00
parent 6decba316c
commit e8447e5655
3 changed files with 34 additions and 36 deletions

View File

@ -410,7 +410,7 @@ const types = computed(() => {
const types = [...props.dataTypes];
if (!isInDataTypes.value)
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(types as any).unshift({ name: props.row });
(types as any).unshift({ name: props.row.type });
return types;
});