|
|
|
@ -206,6 +206,12 @@ const deleteTable = () => {
|
|
|
|
|
isOptionsOpen.value = false |
|
|
|
|
isTableDeleteDialogVisible.value = true |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const refreshViews = async () => { |
|
|
|
|
isExpanded.value = false |
|
|
|
|
await nextTick() |
|
|
|
|
isExpanded.value = true |
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
@ -397,7 +403,7 @@ const deleteTable = () => {
|
|
|
|
|
:base-id="base.id" |
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
<DashboardTreeViewViewsList v-if="isExpanded" :table-id="table.id" :base-id="base.id" /> |
|
|
|
|
<DashboardTreeViewViewsList v-if="isExpanded" :table-id="table.id" :base-id="base.id" @deleted="refreshViews" /> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|