chore: updated Workspace views filter in all issues (#4868)
This commit is contained in:
parent
0b4faf7db2
commit
9b79a66a90
1 changed files with 4 additions and 3 deletions
|
|
@ -1,9 +1,10 @@
|
|||
"use client";
|
||||
|
||||
import { observer } from "mobx-react";
|
||||
import { useParams } from "next/navigation";
|
||||
// components
|
||||
import { PageHead } from "@/components/core";
|
||||
import { AllIssueLayoutRoot } from "@/components/issues";
|
||||
import { AllIssueLayoutRoot, GlobalViewsAppliedFiltersRoot } from "@/components/issues";
|
||||
import { GlobalViewsHeader } from "@/components/workspace";
|
||||
// constants
|
||||
import { DEFAULT_GLOBAL_VIEWS_LIST } from "@/constants/workspace";
|
||||
|
|
@ -12,8 +13,7 @@ import { useGlobalView, useWorkspace } from "@/hooks/store";
|
|||
|
||||
const GlobalViewIssuesPage = observer(() => {
|
||||
// router
|
||||
//const { globalViewId } = useParams();
|
||||
const globalViewId = "assigned";
|
||||
const { globalViewId } = useParams();
|
||||
// store hooks
|
||||
const { currentWorkspace } = useWorkspace();
|
||||
const { getViewDetailsById } = useGlobalView();
|
||||
|
|
@ -33,6 +33,7 @@ const GlobalViewIssuesPage = observer(() => {
|
|||
<div className="h-full overflow-hidden bg-custom-background-100">
|
||||
<div className="flex h-full w-full flex-col border-b border-custom-border-300">
|
||||
<GlobalViewsHeader />
|
||||
{globalViewId && <GlobalViewsAppliedFiltersRoot globalViewId={globalViewId.toString()} />}
|
||||
<AllIssueLayoutRoot />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue