Skip to content

Commit

Permalink
fix: Allow delete modal to submit when the form is clean. (#253)
Browse files Browse the repository at this point in the history
Since there are no inputs it will always be clean.
  • Loading branch information
Zoramite committed Nov 30, 2021
1 parent 139c683 commit 2663414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts/editor/ui/parts/menu/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export class SitePart extends MenuSectionPart {
return;
}

if (modal.selective.isClean || !modal.selective.isValid) {
if (!modal.selective.isValid) {
modal.stopProcessing();
return;
}
Expand Down

0 comments on commit 2663414

Please sign in to comment.