Skip to content

Commit

Permalink
[WEB-3229] fix: issue creation from modal (#6460)
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekshourya29 authored Jan 27, 2025
1 parent e2550e0 commit 7f22cd1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web/core/components/issues/issue-modal/base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ export const CreateUpdateIssueModalBase: React.FC<IssuesModalProps> = observer((
} = props;
const issueStoreType = useIssueStoreType();

const storeType = issueStoreFromProps ?? issueStoreType;
let storeType = issueStoreFromProps ?? issueStoreType;
// Fallback to project store if epic store is used in issue modal.
if (storeType === EIssuesStoreType.EPIC) {
storeType = EIssuesStoreType.PROJECT;
}
// ref
const issueTitleRef = useRef<HTMLInputElement>(null);
// states
Expand Down

0 comments on commit 7f22cd1

Please sign in to comment.