diff --git a/libs/components/editor-blocks/src/blocks/group/group-menu/AddViewMenu.tsx b/libs/components/editor-blocks/src/blocks/group/group-menu/AddViewMenu.tsx index cffa0a0dd0..e1cee48f30 100644 --- a/libs/components/editor-blocks/src/blocks/group/group-menu/AddViewMenu.tsx +++ b/libs/components/editor-blocks/src/blocks/group/group-menu/AddViewMenu.tsx @@ -66,10 +66,10 @@ export const AddViewMenu = () => { key={name} active={viewType === scene} onClick={() => { - if (scene === RecastScene.Table) { - // The table view is under progress - return; - } + // if (scene === RecastScene.Table) { + // // The table view is under progress + // return; + // } setViewType(scene); }} style={{ textTransform: 'uppercase' }} diff --git a/libs/components/editor-blocks/src/blocks/group/group-menu/ViewsMenu.tsx b/libs/components/editor-blocks/src/blocks/group/group-menu/ViewsMenu.tsx index 9e6a70df24..273911a94d 100644 --- a/libs/components/editor-blocks/src/blocks/group/group-menu/ViewsMenu.tsx +++ b/libs/components/editor-blocks/src/blocks/group/group-menu/ViewsMenu.tsx @@ -99,10 +99,10 @@ export const ViewsMenu = () => { key={name} active={viewType === scene} onClick={() => { - if (scene === RecastScene.Table) { - // The table view is under progress - return; - } + // if (scene === RecastScene.Table) { + // // The table view is under progress + // return; + // } setViewType(scene); }} style={{ textTransform: 'uppercase' }} diff --git a/libs/components/editor-blocks/src/blocks/group/group-menu/constant.tsx b/libs/components/editor-blocks/src/blocks/group/group-menu/constant.tsx index 0f2a1887d4..7a057eccbd 100644 --- a/libs/components/editor-blocks/src/blocks/group/group-menu/constant.tsx +++ b/libs/components/editor-blocks/src/blocks/group/group-menu/constant.tsx @@ -1,9 +1,5 @@ import { RecastScene } from '@toeverything/components/editor-core'; -import { - KanBanIcon, - TableIcon, - TodoListIcon, -} from '@toeverything/components/icons'; +import { KanBanIcon, TodoListIcon } from '@toeverything/components/icons'; export const VIEW_LIST = [ { @@ -16,9 +12,9 @@ export const VIEW_LIST = [ scene: RecastScene.Kanban, icon: , }, - { - name: 'Table', - scene: RecastScene.Table, - icon: , - }, + // { + // name: 'Table', + // scene: RecastScene.Table, + // icon: , + // }, ] as const;