Skip to content

Commit 7940942

Browse files
Remove dataSourceFilter that breaks DataSourceView (#837)
1 parent 4c49c8c commit 7940942

File tree

5 files changed

+1
-9
lines changed

5 files changed

+1
-9
lines changed

public/pages/ConfigureModel/containers/ConfigureModel.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ import { getErrorMessage } from '../../../utils/utils';
6161
import {
6262
constructHrefWithDataSourceId,
6363
getDataSourceFromURL,
64-
isDataSourceCompatible,
6564
} from '../../../pages/utils/helpers';
6665
import {
6766
getDataSourceManagementPlugin,
@@ -271,7 +270,6 @@ export function ConfigureModel(props: ConfigureModelProps) {
271270
fullWidth: false,
272271
savedObjects: getSavedObjectsClient(),
273272
notifications: getNotifications(),
274-
dataSourceFilter: isDataSourceCompatible,
275273
}}
276274
/>
277275
);

public/pages/DefineDetector/containers/DefineDetector.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ export const DefineDetector = (props: DefineDetectorProps) => {
310310
fullWidth: false,
311311
savedObjects: getSavedObjectsClient(),
312312
notifications: getNotifications(),
313-
dataSourceFilter: isDataSourceCompatible,
314313
}}
315314
/>
316315
);

public/pages/DetectorDetail/containers/DetectorDetail.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ import {
7171
getNotifications,
7272
getSavedObjectsClient,
7373
} from '../../../services';
74-
import { constructHrefWithDataSourceId, getDataSourceFromURL, isDataSourceCompatible } from '../../../pages/utils/helpers';
74+
import { constructHrefWithDataSourceId, getDataSourceFromURL } from '../../../pages/utils/helpers';
7575

7676
export interface DetectorRouterProps {
7777
detectorId?: string;
@@ -430,7 +430,6 @@ export const DetectorDetail = (props: DetectorDetailProps) => {
430430
fullWidth: false,
431431
savedObjects: getSavedObjectsClient(),
432432
notifications: getNotifications(),
433-
dataSourceFilter: isDataSourceCompatible,
434433
}}
435434
/>
436435
);

public/pages/DetectorJobs/containers/DetectorJobs.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ import { RouteComponentProps, useLocation } from 'react-router-dom';
3636
import {
3737
constructHrefWithDataSourceId,
3838
getDataSourceFromURL,
39-
isDataSourceCompatible,
4039
} from '../../../pages/utils/helpers';
4140
import {
4241
getDataSourceManagementPlugin,
@@ -141,7 +140,6 @@ export function DetectorJobs(props: DetectorJobsProps) {
141140
fullWidth: false,
142141
savedObjects: getSavedObjectsClient(),
143142
notifications: getNotifications(),
144-
dataSourceFilter: isDataSourceCompatible,
145143
}}
146144
/>
147145
);

public/pages/ReviewAndCreate/containers/ReviewAndCreate.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ import {
5656
import {
5757
constructHrefWithDataSourceId,
5858
getDataSourceFromURL,
59-
isDataSourceCompatible,
6059
} from '../../../pages/utils/helpers';
6160
import {
6261
getDataSourceManagementPlugin,
@@ -311,7 +310,6 @@ export function ReviewAndCreate(props: ReviewAndCreateProps) {
311310
fullWidth: false,
312311
savedObjects: getSavedObjectsClient(),
313312
notifications: getNotifications(),
314-
dataSourceFilter: isDataSourceCompatible,
315313
}}
316314
/>
317315
);

0 commit comments

Comments
 (0)