Skip to content

Commit

Permalink
Show back to validation buttons after clicking on done while validating
Browse files Browse the repository at this point in the history
  • Loading branch information
Aadesh-Baral committed Jul 20, 2023
1 parent fac4bcf commit d8c8246
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/tagEditor/editForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ export function TagEditorForm(props) {
}
updateElement().then(() => {
props.onDone();
// Reset editMode to false so that validation buttons are shown for the next feature
if (editMode) setEditMode(!editMode);
});
};

Expand Down

0 comments on commit d8c8246

Please sign in to comment.