fix: project page empty state (#3939)

This commit is contained in:
Anmol Singh Bhatia
2024-03-12 19:05:15 +05:30
committed by GitHub
parent 73c91654eb
commit 5c4c3f5c04

View File

@@ -29,7 +29,7 @@ export const PagesListView: FC<IPagesListView> = (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 (