chore: bug fixes & improvement (#3218)
* chore: draft issue validation added to prevent saving empty or whitespace title * chore: resolve scrolling issue in page empty state * chore: kanban layout quick add issue improvement
This commit is contained in:
parent
5f681973a0
commit
0a41eff435
3 changed files with 63 additions and 61 deletions
|
|
@ -22,7 +22,7 @@ const Inputs = (props: any) => {
|
|||
}, [setFocus]);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className="w-full">
|
||||
<h4 className="text-xs font-medium leading-5 text-custom-text-300">{projectDetail?.identifier ?? "..."}</h4>
|
||||
<input
|
||||
autoComplete="off"
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ export const CreateUpdateIssueModal: React.FC<IssuesModalProps> = observer((prop
|
|||
*/
|
||||
|
||||
const onDiscardClose = () => {
|
||||
if (formDirtyState !== null) {
|
||||
if (formDirtyState !== null && formDirtyState.name.trim() !== "") {
|
||||
setShowConfirmDiscard(true);
|
||||
} else {
|
||||
handleClose();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue