mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: resetting the changesMage when the createmore toggle is turned on in issue create-edit modal (#4039)
This commit is contained in:
parent
db8cf1fb24
commit
72392d5731
@ -171,7 +171,10 @@ export const CreateUpdateIssueModal: React.FC<IssuesModalProps> = observer((prop
|
||||
path: router.asPath,
|
||||
});
|
||||
!createMore && handleClose();
|
||||
if (createMore) issueTitleRef && issueTitleRef?.current?.focus();
|
||||
if (createMore) {
|
||||
issueTitleRef && issueTitleRef?.current?.focus();
|
||||
setChangesMade(null);
|
||||
}
|
||||
return response;
|
||||
} catch (error) {
|
||||
setToast({
|
||||
|
Loading…
Reference in New Issue
Block a user