diff --git a/frontend/src/app/components/SaveToDashboard.tsx b/frontend/src/app/components/SaveToDashboard.tsx index 4e9e45f55..9928aff48 100644 --- a/frontend/src/app/components/SaveToDashboard.tsx +++ b/frontend/src/app/components/SaveToDashboard.tsx @@ -25,6 +25,7 @@ import { getCascadeAccess } from 'app/pages/MainPage/Access'; import { PermissionLevels, ResourceTypes, + VizResourceSubTypes, } from 'app/pages/MainPage/pages/PermissionPage/constants'; import { useAddViz } from 'app/pages/MainPage/pages/VizPage/hooks/useAddViz'; import { SaveFormContext } from 'app/pages/MainPage/pages/VizPage/SaveFormContext'; @@ -136,7 +137,7 @@ const SaveToDashboard: FC = memo( selectable: v.relType !== 'FOLDER', })), null, - [], + [VizResourceSubTypes.Folder], { getIcon, filter: filterTreeNode }, ); }, [vizData, getIcon, filterTreeNode]);