mirror of
https://github.com/makeplane/plane.git
synced 2026-07-13 14:01:45 +02:00
fix: project overview build (#1929)
This commit is contained in:
committed by
GitHub
parent
cfa2f8bc8b
commit
653dbcc178
@@ -12,7 +12,7 @@ import { RichTextEditor, RichTextReadOnlyEditor } from "@/components/editor";
|
||||
// helpers
|
||||
import { getDescriptionPlaceholder } from "@/helpers/issue.helper";
|
||||
// hooks
|
||||
import { useWorkspace } from "@/hooks/store";
|
||||
import { useMember, useWorkspace } from "@/hooks/store";
|
||||
// services
|
||||
import { TProject } from "@/plane-web/types";
|
||||
import { FileService } from "@/services/file.service";
|
||||
@@ -59,6 +59,9 @@ export const ProjectDescriptionInput: FC<ProjectDescriptionInputProps> = observe
|
||||
);
|
||||
|
||||
const { getWorkspaceBySlug } = useWorkspace();
|
||||
const {
|
||||
project: { projectMemberIds },
|
||||
} = useMember();
|
||||
// computed values
|
||||
const workspaceId = getWorkspaceBySlug(workspaceSlug)?.id as string;
|
||||
|
||||
@@ -92,6 +95,7 @@ export const ProjectDescriptionInput: FC<ProjectDescriptionInputProps> = observe
|
||||
id={project.id}
|
||||
initialValue={initialValue ?? ""}
|
||||
value={swrProjectDescription ?? null}
|
||||
memberIds={projectMemberIds || []}
|
||||
workspaceSlug={workspaceSlug}
|
||||
workspaceId={workspaceId}
|
||||
projectId={project.id}
|
||||
|
||||
@@ -22,7 +22,7 @@ import {
|
||||
WorkspaceSubscriptionStore,
|
||||
} from "@/plane-web/store/subscription/subscription.store";
|
||||
import { ITeamRootStore, TeamRootStore } from "@/plane-web/store/team";
|
||||
import { ITimelineStore, TimeLineStore } from "@/plane-web/store/timeline";
|
||||
import { TimeLineStore } from "@/plane-web/store/timeline";
|
||||
import { IWorkspaceFeatureStore, WorkspaceFeatureStore } from "@/plane-web/store/workspace-feature.store";
|
||||
import {
|
||||
IProjectFilterStore,
|
||||
@@ -55,7 +55,7 @@ import { ISlackStore, SlackStore } from "./integrations";
|
||||
import { IPiChatStore, PiChatStore } from "./pi-chat/pi-chat";
|
||||
// timeline
|
||||
import { IProjectStore, ProjectStore } from "./projects/projects";
|
||||
import { ITimelineStore, TimeLineStore } from "./timeline";
|
||||
import { ITimelineStore } from "./timeline";
|
||||
|
||||
export class RootStore extends CoreRootStore {
|
||||
workspacePages: IWorkspacePageStore;
|
||||
|
||||
Reference in New Issue
Block a user