Skip to content

Commit

Permalink
fix: fix uncaught error in DatasetManager when a run template does no…
Browse files Browse the repository at this point in the history
…t have tags defined

Same fix as 0f19aea, but in the DatasetManager
  • Loading branch information
csm-thu committed Mar 15, 2024
1 parent 47dba5e commit 147f02b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const useDatasetCreationParameters = () => {
}, [clone]);

const dataSourceRunTemplates = useMemo(() => {
const dataSources = solutionData.runTemplates.filter((runTemplate) => runTemplate?.tags.includes('datasource'));
const dataSources = solutionData.runTemplates.filter((runTemplate) => runTemplate?.tags?.includes('datasource'));

const parameters = solutionData.parameters;
const runTemplatesParameters = solutionData.runTemplatesParametersIdsDict;
Expand Down

0 comments on commit 147f02b

Please sign in to comment.