Skip to content

Commit 69ac94c

Browse files
fix lodahs imports in app-arch code (#78582)
Co-authored-by: Elastic Machine <[email protected]>
1 parent 119da59 commit 69ac94c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

x-pack/plugins/ui_actions_enhanced/public/drilldowns/components/connected_flyout_manage_drilldowns/connected_flyout_manage_drilldowns.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
import React, { useEffect, useState, useMemo } from 'react';
88
import { ToastsStart } from 'kibana/public';
99
import useMountedState from 'react-use/lib/useMountedState';
10-
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
11-
// eslint-disable-next-line no-restricted-imports
12-
import intersection from 'lodash/intersection';
10+
import { intersection } from 'lodash';
1311
import { DrilldownWizardConfig, FlyoutDrilldownWizard } from '../flyout_drilldown_wizard';
1412
import { FlyoutListManageDrilldowns } from '../flyout_list_manage_drilldowns';
1513
import { IStorageWrapper } from '../../../../../../../src/plugins/kibana_utils/public';

x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_drilldown_scope.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
* you may not use this file except in compliance with the Elastic License.
55
*/
66

7-
// Prefer importing entire lodash library, e.g. import { get } from "lodash"
8-
// eslint-disable-next-line no-restricted-imports
9-
import partition from 'lodash/partition';
7+
import { partition } from 'lodash';
108
import { getFlattenedObject } from '@kbn/std';
119
import { UrlDrilldownGlobalScope, UrlDrilldownScope } from './types';
1210

0 commit comments

Comments
 (0)