forked from github/plane
fix: project page empty state (#3939)
This commit is contained in:
parent
73c91654eb
commit
5c4c3f5c04
@ -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
|
// 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";
|
const isButtonVisible = pageTab !== "archived" && pageTab !== "favorites";
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user