You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Block simulate API calls if datasource version is missing (#657) (#659)
* Block simulate on ingest if version not foundg
* more cleanup after rebase
* Add checks in all modals
* Set defaults for calls of getEffectiveVesion
* rename fn
---------
(cherry picked from commit 1d0fea7)
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy file name to clipboardexpand all lines: public/pages/workflow_detail/workflow_inputs/processor_inputs/ml_processor_inputs/modals/configure_expression_modal.tsx
Copy file name to clipboardexpand all lines: public/pages/workflow_detail/workflow_inputs/processor_inputs/ml_processor_inputs/modals/configure_multi_expression_modal.tsx
+9
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,8 @@ import {
51
51
injectParameters,
52
52
prepareDocsForSimulate,
53
53
unwrapTransformedDocs,
54
+
useDataSourceVersion,
55
+
useMissingDataSourceVersion,
54
56
}from'../../../../../../utils';
55
57
import{TextField}from'../../../input_fields';
56
58
import{
@@ -91,6 +93,11 @@ export function ConfigureMultiExpressionModal(
Copy file name to clipboardexpand all lines: public/pages/workflow_detail/workflow_inputs/processor_inputs/ml_processor_inputs/modals/configure_template_modal.tsx
@@ -171,7 +165,9 @@ export function ImportWorkflowModal(props: ImportWorkflowModalProps) {
171
165
<>
172
166
<EuiFlexItem>
173
167
<EuiCallOut
174
-
title={`The uploaded file is not compatible with the current data source version ${formatDisplayVersion(dataSourceVersion)}. Upload a compatible file or switch to another data source.`}
168
+
title={`The uploaded file is not compatible with the current data source version ${formatDisplayVersion(
169
+
dataSourceVersion
170
+
)}. Upload a compatible file or switch to another data source.`}
0 commit comments