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