Skip to content

Commit

Permalink
fix: issue store condition (#6420)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathalav55 authored Jan 17, 2025
1 parent 9ae1ce0 commit 62dd808
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions web/core/components/issues/issue-modal/base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ export const CreateUpdateIssueModalBase: React.FC<IssuesModalProps> = observer((
} = props;
const issueStoreType = useIssueStoreType();

const storeType = (issueStoreFromProps ? issueStoreFromProps : issueStoreType === EIssuesStoreType.EPIC)
? EIssuesStoreType.PROJECT
: issueStoreType;
const storeType = issueStoreFromProps ?? issueStoreType;
// ref
const issueTitleRef = useRef<HTMLInputElement>(null);
// states
Expand Down

0 comments on commit 62dd808

Please sign in to comment.