Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Feature: AD: Add delete batch action #204

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@ import {
EuiFlexItem,
EuiPopover,
} from '@elastic/eui';
import { DetectorListItem } from '../../../../models/interfaces';

interface ListActionsProps {
onStartDetectors(): void;
onStopDetectors(): void;
//onDeleteDetectors(): void;
detectors: DetectorListItem[];
onDeleteDetectors(): void;
isActionsDisabled: boolean;
}

Expand Down Expand Up @@ -72,16 +70,13 @@ export const ListActions = (props: ListActionsProps) => {
Stop
</EuiContextMenuItem>

{
// TODO: will add back in later PR
}
{/* <EuiContextMenuItem
<EuiContextMenuItem
key="deleteDetectors"
data-test-subj="deleteDetectors"
onClick={props.onDeleteDetectors}
>
Delete
</EuiContextMenuItem> */}
</EuiContextMenuItem>
</EuiContextMenuPanel>
</EuiPopover>
</EuiFlexItem>
Expand Down
Loading