diff --git a/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue b/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue index 6333bc5513..49bb750e80 100644 --- a/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue +++ b/packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue @@ -35,10 +35,6 @@ import { import type { NcProject } from '#imports' import { useNuxtApp } from '#app' -const emit = defineEmits<{ - (event: 'openTable', scrollDown: boolean): void -}>() - const indicator = h(LoadingOutlined, { class: '!text-gray-400', style: { diff --git a/packages/nc-gui/components/dashboard/TreeView/TableList.vue b/packages/nc-gui/components/dashboard/TreeView/TableList.vue index dc0f3aebe8..6ece28f941 100644 --- a/packages/nc-gui/components/dashboard/TreeView/TableList.vue +++ b/packages/nc-gui/components/dashboard/TreeView/TableList.vue @@ -16,10 +16,6 @@ const props = withDefaults( }, ) -const emit = defineEmits<{ - (event: 'openTable', scrollDown: boolean): void -}>() - const base = toRef(props, 'base') const sourceIndex = toRef(props, 'sourceIndex') diff --git a/packages/nc-gui/components/dashboard/TreeView/TableNode.vue b/packages/nc-gui/components/dashboard/TreeView/TableNode.vue index 75fe2dca6f..5bf2607584 100644 --- a/packages/nc-gui/components/dashboard/TreeView/TableNode.vue +++ b/packages/nc-gui/components/dashboard/TreeView/TableNode.vue @@ -16,10 +16,6 @@ const props = withDefaults( { sourceIndex: 0 }, ) -const emit = defineEmits<{ - (event: 'openTable', scrollDown: boolean): void -}>() - const base = toRef(props, 'base') const table = toRef(props, 'table') const sourceIndex = toRef(props, 'sourceIndex') diff --git a/packages/nc-gui/components/dashboard/TreeView/index.vue b/packages/nc-gui/components/dashboard/TreeView/index.vue index 376a0222a6..267434577e 100644 --- a/packages/nc-gui/components/dashboard/TreeView/index.vue +++ b/packages/nc-gui/components/dashboard/TreeView/index.vue @@ -23,10 +23,6 @@ import { import { useRouter } from '#app' -const emit = defineEmits<{ - (event: 'openTable', scrollDown: boolean): void -}>() - const { isUIAllowed } = useRoles() const { $e } = useNuxtApp()