From 5c4c3f5c041dbfb09f3480cb6f20eb70cb5cb41d Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Tue, 12 Mar 2024 19:05:15 +0530 Subject: [PATCH] fix: project page empty state (#3939) --- web/components/pages/pages-list/list-view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/pages/pages-list/list-view.tsx b/web/components/pages/pages-list/list-view.tsx index 8c1a09e73..6b363b2f2 100644 --- a/web/components/pages/pages-list/list-view.tsx +++ b/web/components/pages/pages-list/list-view.tsx @@ -29,7 +29,7 @@ export const PagesListView: FC = (props) => { // here we are only observing the projectPageStore, so that we can re-render the component when the projectPageStore changes - const emptyStateType = pageTab ? `project-page-${pageTab}` : EmptyStateType.PROJECT_PAGE_ALL; + const emptyStateType = pageTab ? `project-page-${pageTab.toLowerCase()}` : EmptyStateType.PROJECT_PAGE_ALL; const isButtonVisible = pageTab !== "archived" && pageTab !== "favorites"; return (