mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 02:06:49 +00:00
fix: refresh data sources on sync metadata
Signed-off-by: mertmit <mertmit99@gmail.com>
This commit is contained in:
@@ -5,6 +5,8 @@ const props = defineProps<{
|
||||
baseId: string
|
||||
}>()
|
||||
|
||||
const emit = defineEmits(['baseSynced'])
|
||||
|
||||
const { $api } = useNuxtApp()
|
||||
|
||||
const { project, loadTables } = useProject()
|
||||
@@ -47,6 +49,7 @@ async function syncMetaDiff() {
|
||||
message.info(t('msg.info.metaDataRecreated'))
|
||||
await loadTables()
|
||||
await loadMetaDiff()
|
||||
emit('baseSynced')
|
||||
} catch (e: any) {
|
||||
message.error(await extractSdkResponseErrorMsg(e))
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user