diff --git a/packages/nc-gui/assets/style.scss b/packages/nc-gui/assets/style.scss index 3c4b69f3a6..f1d7e48405 100644 --- a/packages/nc-gui/assets/style.scss +++ b/packages/nc-gui/assets/style.scss @@ -249,9 +249,3 @@ a { transform: scale(75%); transform-origin: bottom right; } - -.nc-modal-erd { - .ant-modal { - transform: none !important; - } -} \ No newline at end of file diff --git a/packages/nc-gui/components/erd/SimpleView.vue b/packages/nc-gui/components/erd/SimpleView.vue index c269716578..336ba6d63f 100644 --- a/packages/nc-gui/components/erd/SimpleView.vue +++ b/packages/nc-gui/components/erd/SimpleView.vue @@ -24,6 +24,8 @@ const { metasWithIdAsKey } = useMetas() const { $destroy, fitView } = useVueFlow() +const isTransitioning = ref(true) + const nodes = ref([]) const edges = ref([]) @@ -193,35 +195,41 @@ init() onScopeDispose($destroy) watch([() => tables, () => config], () => init(true), { deep: true, flush: 'pre' }) + +useEventListener('transitionend', () => { + isTransitioning.value = false +}) diff --git a/packages/nc-gui/components/smartsheet-toolbar/ViewActions.vue b/packages/nc-gui/components/smartsheet-toolbar/ViewActions.vue index 29e34dee9a..5a8d0e2472 100644 --- a/packages/nc-gui/components/smartsheet-toolbar/ViewActions.vue +++ b/packages/nc-gui/components/smartsheet-toolbar/ViewActions.vue @@ -245,7 +245,7 @@ const { isSqlView } = useSmartsheetStoreOrThrow() -