mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: type fixes
This commit is contained in:
parent
579347c991
commit
a27edad810
@ -35,14 +35,14 @@ export const ProjectDetailsView = observer(() => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="relative w-full h-full overflow-hidden">
|
<div className="relative w-full h-full overflow-hidden">
|
||||||
{/* {workspace_slug && (
|
{workspace_slug && (
|
||||||
<IssuePeekOverview
|
<IssuePeekOverview
|
||||||
isOpen={Boolean(activeIssueId)}
|
isOpen={Boolean(activeIssueId)}
|
||||||
onClose={() => issueStore.setActivePeekOverviewIssueId(null)}
|
onClose={() => issueStore.setPeekId(null)}
|
||||||
issue={issueStore?.issues?.find((_issue) => _issue.id === activeIssueId) || null}
|
issue={issueStore?.issues?.find((_issue) => _issue.id === activeIssueId) || null}
|
||||||
workspaceSlug={workspace_slug.toString()}
|
workspaceSlug={workspace_slug.toString()}
|
||||||
/>
|
/>
|
||||||
)} */}
|
)}
|
||||||
|
|
||||||
{issueStore?.loader && !issueStore.issues ? (
|
{issueStore?.loader && !issueStore.issues ? (
|
||||||
<div className="text-sm text-center py-10 text-custom-text-100">Loading...</div>
|
<div className="text-sm text-center py-10 text-custom-text-100">Loading...</div>
|
||||||
|
@ -24,7 +24,7 @@ export interface IIssueStore {
|
|||||||
issueService: any;
|
issueService: any;
|
||||||
// actions
|
// actions
|
||||||
fetchPublicIssues: (workspace_slug: string, project_slug: string, params: any) => void;
|
fetchPublicIssues: (workspace_slug: string, project_slug: string, params: any) => void;
|
||||||
setPeekId: (issueId: string) => void;
|
setPeekId: (issueId: string | null) => void;
|
||||||
getFilteredIssuesByState: (state: string) => IIssue[];
|
getFilteredIssuesByState: (state: string) => IIssue[];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ class IssueStore implements IIssueStore {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
setPeekId = (issueId: string) => {
|
setPeekId = (issueId: string | null) => {
|
||||||
this.peekId = issueId;
|
this.peekId = issueId;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user