diff --git a/src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js b/src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js index 5f9f80fcf..71c060fa7 100644 --- a/src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js +++ b/src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js @@ -98,10 +98,9 @@ export class GuidedNewDatasetPage extends Page { this.notify(`${header(name)} 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) {