mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 14:26:50 +00:00
fix: some promise error Handlings
This commit is contained in:
@@ -40,7 +40,11 @@ async function migrateData() {
|
||||
}
|
||||
|
||||
onMounted(async () => {
|
||||
await basesStore.loadProject(baseId.value!, true)
|
||||
try {
|
||||
await basesStore.loadProject(baseId.value!, true)
|
||||
} catch (e: any) {
|
||||
// ignore
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
@@ -18,7 +18,11 @@ watch(includeM2M, async () => await loadTables())
|
||||
|
||||
onMounted(async () => {
|
||||
await until(() => !!baseId.value).toBeTruthy()
|
||||
await basesStore.loadProject(baseId.value!, true)
|
||||
try {
|
||||
await basesStore.loadProject(baseId.value!, true)
|
||||
} catch (e: any) {
|
||||
// ignore
|
||||
}
|
||||
showNullAndEmptyInFilter.value = basesStore.getProjectMeta(baseId.value!)?.showNullAndEmptyInFilter
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user