mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: disccard changes made after creating issue (#4484)
This commit is contained in:
parent
8522db630e
commit
8fae076fd6
@ -170,11 +170,9 @@ export const CreateUpdateIssueModal: React.FC<IssuesModalProps> = observer((prop
|
|||||||
path: router.asPath,
|
path: router.asPath,
|
||||||
});
|
});
|
||||||
!createMore && handleClose();
|
!createMore && handleClose();
|
||||||
if (createMore) {
|
if (createMore) issueTitleRef && issueTitleRef?.current?.focus();
|
||||||
issueTitleRef && issueTitleRef?.current?.focus();
|
|
||||||
setDescription("<p></p>");
|
setDescription("<p></p>");
|
||||||
setChangesMade(null);
|
setChangesMade(null);
|
||||||
}
|
|
||||||
return response;
|
return response;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
setToast({
|
setToast({
|
||||||
|
Loading…
Reference in New Issue
Block a user