diff --git a/apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx b/apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx index 1ff51eccb..dbdd3c57f 100644 --- a/apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx +++ b/apps/app/pages/[workspaceSlug]/projects/[projectId]/pages/[pageId].tsx @@ -24,6 +24,7 @@ import useUser from "hooks/use-user"; import { ProjectAuthorizationWrapper } from "layouts/auth-layout"; // components import { CreateUpdateBlockInline, SinglePageBlock } from "components/pages"; +import { CreateLabelModal } from "components/labels"; // ui import { BreadcrumbItem, Breadcrumbs } from "components/breadcrumbs"; import { CustomSearchSelect, Loader, PrimaryButton, TextArea, Tooltip } from "components/ui"; @@ -55,6 +56,7 @@ import { const SinglePage: NextPage = () => { const [createBlockForm, setCreateBlockForm] = useState(false); + const [labelModal, setLabelModal] = useState(false); const scrollToRef = useRef(null); @@ -383,6 +385,20 @@ const SinglePage: NextPage = () => { } value={pageDetails.labels} onChange={(val: string[]) => partialUpdatePage({ labels_list: val })} + footerOption={ + + } options={options} multiple noChevron @@ -531,6 +547,13 @@ const SinglePage: NextPage = () => { /> )} + {labelModal && typeof projectId === "string" && ( + setLabelModal(false)} + projectId={projectId} + /> + )} ) : (