Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 16, 2024
1 parent 4c30444 commit c8e8251
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,9 @@ export class GuidedNewDatasetPage extends Page {
this.notify(`<b>${header(name)}</b> has been overridden with a global value.`, "warning", 3000);
},
validateOnChange: async (...args) => {
const results = await validateOnChange.call(this.form, ...args)
const results = await validateOnChange.call(this.form, ...args);
if (!results && args[0] === "name") this.#nameNotification && this.dismiss(this.#nameNotification);
return results

return results;
},
onUpdate: () => (this.unsavedUpdates = true),
onThrow: function (message) {
Expand Down

0 comments on commit c8e8251

Please sign in to comment.