diff --git a/src/frontend/src/constants/constants.ts b/src/frontend/src/constants/constants.ts index 88d86eb3c..a81981259 100644 --- a/src/frontend/src/constants/constants.ts +++ b/src/frontend/src/constants/constants.ts @@ -728,7 +728,7 @@ export const PRIORITY_SIDEBAR_ORDER = [ "embeddings", ]; -export const BUNDLES_SIDEBAR_FOLDER_NAMES = ["notion"]; +export const BUNDLES_SIDEBAR_FOLDER_NAMES = ["notion", "Notion"]; export const AUTHORIZED_DUPLICATE_REQUESTS = [ "/health", diff --git a/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx b/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx index 7875a1d9d..8138008c5 100644 --- a/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx +++ b/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx @@ -256,7 +256,11 @@ export default function ExtraSidebar(): JSX.Element { > {Object.keys(dataFilter) .sort(sortKeys) - .filter((x) => !PRIORITY_SIDEBAR_ORDER.includes(x)) + .filter( + (x) => + !PRIORITY_SIDEBAR_ORDER.includes(x) && + !BUNDLES_SIDEBAR_FOLDER_NAMES.includes(x), + ) .map((SBSectionName: keyof APIObjectType, index) => Object.keys(dataFilter[SBSectionName]).length > 0 ? (