Skip to content

Commit

Permalink
Update UploadsPage.js
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmflynn committed Jun 12, 2024
1 parent ad696f6 commit 56cafc4
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,10 @@ export class UploadsPage extends Page {
merge(apiKeys, globalDandiData.api_keys);

global.save();
await regenerateDandisets();
const input = this.form.getFormElement(["dandiset"]);
input.requestUpdate();
regenerateDandisets().then(() => {
const input = this.form.getFormElement(["dandiset"]);
input.requestUpdate();
})
},
formProps: {
validateOnChange: async (name, parent) => {
Expand Down

0 comments on commit 56cafc4

Please sign in to comment.