We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36fd364 commit 3cff3a5Copy full SHA for 3cff3a5
public/components/DiscoverAction/SuggestAnomalyDetector.tsx
@@ -321,7 +321,7 @@ function SuggestAnomalyDetector({
321
<EuiText>
322
Detector created: <a href="#" onClick={(e) => {
323
e.preventDefault();
324
- const url = `../${PLUGIN_NAME}#/detectors/${detectorId}/results?dataSourceId=${dataSourceId}`;
+ const url = `../${PLUGIN_NAME}#/detectors/${detectorId}/results?dataSourceId=${dataSourceId || ''}`;
325
window.open(url, '_blank');
326
}} style={{ textDecoration: 'underline' }}>{formikProps.values.name}</a>
327
</EuiText >
0 commit comments