diff --git a/src/renderer/src/stories/pages/guided-mode/options/GuidedUpload.js b/src/renderer/src/stories/pages/guided-mode/options/GuidedUpload.js index 00970f13b..f3647e701 100644 --- a/src/renderer/src/stories/pages/guided-mode/options/GuidedUpload.js +++ b/src/renderer/src/stories/pages/guided-mode/options/GuidedUpload.js @@ -73,7 +73,8 @@ export class GuidedUploadPage extends Page { .then(({ physical, logical }) => { dandiUploadSchema.properties.number_of_jobs.max = physical; dandiUploadSchema.properties.number_of_threads.max = logical / physical; - }).catch(() => {}); + }) + .catch(() => {}); return (this.form = new JSONSchemaForm({ schema: dandiUploadSchema, diff --git a/src/renderer/src/stories/pages/uploads/UploadsPage.js b/src/renderer/src/stories/pages/uploads/UploadsPage.js index 09a73f50a..68bbc12da 100644 --- a/src/renderer/src/stories/pages/uploads/UploadsPage.js +++ b/src/renderer/src/stories/pages/uploads/UploadsPage.js @@ -171,7 +171,6 @@ export class UploadsPage extends Page { await fetch(new URL("cpus", baseUrl)) .then((res) => res.json()) .then(({ physical, logical }) => { - dandiSchema.properties.number_of_jobs.max = physical; dandiSchema.properties.number_of_threads.max = logical / physical; })