From 20b9f531f5555bc68c28f65b9ed6c640fbadfa01 Mon Sep 17 00:00:00 2001 From: Austen Money Date: Thu, 19 Sep 2024 14:39:58 -0400 Subject: [PATCH] update type --- .../workspaces/AdvancedConfigOptions/AdvancedConfigOptions.tsx | 2 +- context/app/static/js/components/workspaces/types.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/context/app/static/js/components/workspaces/AdvancedConfigOptions/AdvancedConfigOptions.tsx b/context/app/static/js/components/workspaces/AdvancedConfigOptions/AdvancedConfigOptions.tsx index 0102610da6..872d1c5c57 100644 --- a/context/app/static/js/components/workspaces/AdvancedConfigOptions/AdvancedConfigOptions.tsx +++ b/context/app/static/js/components/workspaces/AdvancedConfigOptions/AdvancedConfigOptions.tsx @@ -51,7 +51,7 @@ function ConfigSlider({ const step = numMarks ? convertedMax / numMarks : 1; - const marks = Array.from({ length: convertedMax / step + 10 }, (_, i) => { + const marks = Array.from({ length: convertedMax / step }, (_, i) => { const value = convertedMin % 2 === 0 ? convertedMin : 0 + step * (i + 1); return { value, diff --git a/context/app/static/js/components/workspaces/types.ts b/context/app/static/js/components/workspaces/types.ts index 4024f157f8..83cc1c989a 100644 --- a/context/app/static/js/components/workspaces/types.ts +++ b/context/app/static/js/components/workspaces/types.ts @@ -106,7 +106,6 @@ interface TemplateExample { description: string; datasets: string[]; assay_display_name?: string[]; - job_types?: string[]; resource_options?: WorkspaceResourceOptions; required_filetypes?: string[]; }