forked from github/plane
[WEB-583] fix: issue modal description on workspace level (#3814)
* fix: issue modal description on workspace level * fix: issue modal description on workspace level
This commit is contained in:
parent
34d6b135f2
commit
002b2505f3
@ -98,8 +98,8 @@ export const CreateUpdateIssueModal: React.FC<IssuesModalProps> = observer((prop
|
|||||||
const { store: currentIssueStore, viewId } = issueStores[storeType];
|
const { store: currentIssueStore, viewId } = issueStores[storeType];
|
||||||
|
|
||||||
const fetchIssueDetail = async (issueId: string | undefined) => {
|
const fetchIssueDetail = async (issueId: string | undefined) => {
|
||||||
if (!workspaceSlug || !projectId) return;
|
if (!workspaceSlug) return;
|
||||||
if (issueId === undefined) {
|
if (!projectId || issueId === undefined) {
|
||||||
setDescription("<p></p>");
|
setDescription("<p></p>");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user