mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
fix: resetting the changesMage when the createmore toggle is turned on in issue create-edit modal (#4039)
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user