mirror of https://github.com/Fabio286/antares.git
fix(SQLite): table content not refresh after an update, fixes #665
This commit is contained in:
parent
b321e64b83
commit
6dceaf09be
|
@ -231,7 +231,7 @@ import { ConnectionParams } from 'common/interfaces/antares';
|
||||||
import { TableFilterClausole } from 'common/interfaces/tableApis';
|
import { TableFilterClausole } from 'common/interfaces/tableApis';
|
||||||
import { ipcRenderer } from 'electron';
|
import { ipcRenderer } from 'electron';
|
||||||
import { storeToRefs } from 'pinia';
|
import { storeToRefs } from 'pinia';
|
||||||
import { computed, onBeforeUnmount, Prop, Ref, ref, watch } from 'vue';
|
import { computed, nextTick, onBeforeUnmount, Prop, Ref, ref, watch } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
import BaseIcon from '@/components/BaseIcon.vue';
|
import BaseIcon from '@/components/BaseIcon.vue';
|
||||||
|
@ -258,7 +258,10 @@ const props = defineProps({
|
||||||
elementType: String
|
elementType: String
|
||||||
});
|
});
|
||||||
|
|
||||||
const reloadTable = () => getTableData();
|
const reloadTable = async () => {
|
||||||
|
await nextTick();
|
||||||
|
getTableData();
|
||||||
|
};
|
||||||
|
|
||||||
const {
|
const {
|
||||||
queryTable,
|
queryTable,
|
||||||
|
|
Loading…
Reference in New Issue