Skip to content

Commit

Permalink
Fix rendering block
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmflynn committed Mar 9, 2024
1 parent 1109009 commit b412199
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions schemas/dandi-upload.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ onServerOpen(async () => {
});

// Resolve Dandiset Information Asynchronously
export const regenerateDandisets = async ({
newPromise = true
} = {}) => {
if (newPromise) ready.dandisets = createPromise("dandiset")
export const regenerateDandisets = async () => {
delete idSchema.enum
delete idSchema.enumLabels
delete idSchema.enumKeywords
Expand Down Expand Up @@ -123,6 +120,6 @@ export const addDandiset = async (info) => {
return idInfo
}

regenerateDandisets({ newPromise: false })
regenerateDandisets()

export default schema

0 comments on commit b412199

Please sign in to comment.