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,
|
path: router.asPath,
|
||||||
});
|
});
|
||||||
!createMore && handleClose();
|
!createMore && handleClose();
|
||||||
if (createMore) issueTitleRef && issueTitleRef?.current?.focus();
|
if (createMore) {
|
||||||
|
issueTitleRef && issueTitleRef?.current?.focus();
|
||||||
|
setChangesMade(null);
|
||||||
|
}
|
||||||
return response;
|
return response;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
setToast({
|
setToast({
|
||||||
|
Loading…
Reference in New Issue
Block a user