Skip to content

Commit

Permalink
fix: Allow delete modal to submit when the form is clean.
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 caf2263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts/editor/ui/parts/menu/site.ts
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 caf2263

Please sign in to comment.