[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
1 changed files with 2 additions and 2 deletions
|
|
@ -98,8 +98,8 @@ export const CreateUpdateIssueModal: React.FC<IssuesModalProps> = observer((prop
|
|||
const { store: currentIssueStore, viewId } = issueStores[storeType];
|
||||
|
||||
const fetchIssueDetail = async (issueId: string | undefined) => {
|
||||
if (!workspaceSlug || !projectId) return;
|
||||
if (issueId === undefined) {
|
||||
if (!workspaceSlug) return;
|
||||
if (!projectId || issueId === undefined) {
|
||||
setDescription("<p></p>");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue