Skip to content

Commit

Permalink
remove import causing error (#1144) (#1146)
Browse files Browse the repository at this point in the history
(cherry picked from commit c725ac4)

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.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>
  • Loading branch information
1 parent cad9716 commit 883ebdc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions public/utils/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ import {
setBrowserServices,
getDataSourceManagementPlugin,
} from '../services/utils/constants';
import { ANALYTICS_ALL_OVERVIEW_CONTENT_AREAS } from '../../../../src/plugins/content_management/public';
import DetectorsService from '../services/DetectorService';
import CorrelationService from '../services/CorrelationService';
import FindingsService from '../services/FindingsService';
Expand Down Expand Up @@ -690,7 +689,7 @@ export const getTruncatedText = (text: string, textLength: number = 14) => {
export function registerThreatAlertsCard() {
getContentManagement().registerContentProvider({
id: `analytics_all_recent_threat_alerts_card_content`,
getTargetArea: () => ANALYTICS_ALL_OVERVIEW_CONTENT_AREAS.SERVICE_CARDS,
getTargetArea: () => 'all_overview/service_cards',
getContent: () => ({
id: 'analytics_all_recent_threat_alerts_card',
kind: 'custom',
Expand Down

0 comments on commit 883ebdc

Please sign in to comment.