From e00c75306cc585a82426f2a52a3dad91722844e6 Mon Sep 17 00:00:00 2001 From: David Liu Date: Thu, 19 Dec 2024 12:17:17 -0500 Subject: [PATCH] small fix --- .../src/launchpad/useLaunchMultipleRunsWithTelemetry.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js_modules/dagster-ui/packages/ui-core/src/launchpad/useLaunchMultipleRunsWithTelemetry.ts b/js_modules/dagster-ui/packages/ui-core/src/launchpad/useLaunchMultipleRunsWithTelemetry.ts index f3ee3dd1f4e1d..c442c1760429a 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/launchpad/useLaunchMultipleRunsWithTelemetry.ts +++ b/js_modules/dagster-ui/packages/ui-core/src/launchpad/useLaunchMultipleRunsWithTelemetry.ts @@ -46,7 +46,8 @@ export function useLaunchMultipleRunsWithTelemetry() { } if ( - (jobNames.length !== executionParamsList.length && jobNames.includes(undefined)) || + jobNames.length !== executionParamsList.length || + jobNames.includes(undefined) || jobNames.includes(null) ) { throw new Error(