From b412199d55b5b25bf17ce909575b9d3de145b048 Mon Sep 17 00:00:00 2001 From: Garrett Michael Flynn Date: Fri, 8 Mar 2024 16:48:16 -0800 Subject: [PATCH] Fix rendering block --- schemas/dandi-upload.schema.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/schemas/dandi-upload.schema.ts b/schemas/dandi-upload.schema.ts index a0b56d714..a226f2fa0 100644 --- a/schemas/dandi-upload.schema.ts +++ b/schemas/dandi-upload.schema.ts @@ -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 @@ -123,6 +120,6 @@ export const addDandiset = async (info) => { return idInfo } -regenerateDandisets({ newPromise: false }) +regenerateDandisets() export default schema