[WEB-1065] chore: workspace view and empty filter improvement (#4308)
* chore: workspace view layout improvement * fix: empty applied filters * chore: code refactor * chore: code refactor * fix: build errors --------- Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
parent
03065d2c1d
commit
e5681534d7
5 changed files with 41 additions and 83 deletions
|
|
@ -29,8 +29,8 @@ const GlobalViewIssuesPage: NextPageWithLayout = observer(() => {
|
|||
currentWorkspace?.name && defaultView?.label
|
||||
? `${currentWorkspace?.name} - ${defaultView?.label}`
|
||||
: currentWorkspace?.name && globalViewDetails?.name
|
||||
? `${currentWorkspace?.name} - ${globalViewDetails?.name}`
|
||||
: undefined;
|
||||
? `${currentWorkspace?.name} - ${globalViewDetails?.name}`
|
||||
: undefined;
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
@ -46,7 +46,7 @@ const GlobalViewIssuesPage: NextPageWithLayout = observer(() => {
|
|||
});
|
||||
|
||||
GlobalViewIssuesPage.getLayout = function getLayout(page: ReactElement) {
|
||||
return <AppLayout header={<GlobalIssuesHeader activeLayout="spreadsheet" />}>{page}</AppLayout>;
|
||||
return <AppLayout header={<GlobalIssuesHeader />}>{page}</AppLayout>;
|
||||
};
|
||||
|
||||
export default GlobalViewIssuesPage;
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ const WorkspaceViewsPage: NextPageWithLayout = observer(() => {
|
|||
});
|
||||
|
||||
WorkspaceViewsPage.getLayout = function getLayout(page: ReactElement) {
|
||||
return <AppLayout header={<GlobalIssuesHeader activeLayout="list" />}>{page}</AppLayout>;
|
||||
return <AppLayout header={<GlobalIssuesHeader />}>{page}</AppLayout>;
|
||||
};
|
||||
|
||||
export default WorkspaceViewsPage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue