Skip to content

Commit

Permalink
Fixes import issues in DataStreams and Snapshot policies (#1135)
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep Kumawat <[email protected]>
Co-authored-by: Sandeep Kumawat <[email protected]>
  • Loading branch information
skumawat2025 and Sandeep Kumawat authored Aug 20, 2024
1 parent da229f8 commit 368beb9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
EuiHorizontalRule,
EuiButtonIcon,
EuiLink,
EuiCompressedRadioGroup,
} from "@elastic/eui";
import React, { ChangeEvent, Component, useContext } from "react";
import { RouteComponentProps } from "react-router-dom";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import {
EuiToolTip,
EuiFlexGroup,
EuiFlexItem,
EuiSmallButton,
} from "@elastic/eui";
import { ContentPanel, ContentPanelActions } from "../../../../components/ContentPanel";
import { DEFAULT_PAGE_SIZE_OPTIONS, DEFAULT_QUERY_PARAMS, HEALTH_TO_COLOR } from "../../utils/constants";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import {
EuiFlexGroup,
EuiButtonIcon,
EuiCompressedFieldSearch,
EuiSmallButton,
} from "@elastic/eui";
import { BREADCRUMBS, PLUGIN_NAME, ROUTES, SNAPSHOT_MANAGEMENT_DOCUMENTATION_URL } from "../../../../utils/constants";
import { getMessagePrompt, getSMPoliciesQueryParamsFromURL, renderTimestampMillis } from "../../helpers";
Expand Down Expand Up @@ -452,15 +453,15 @@ export class SnapshotPolicies extends MDSEnabledComponent<SnapshotPoliciesProps,
</EuiContextMenuItem>,
];
const actionsButton = (
<EuiButton
<EuiSmallButton
iconType="arrowDown"
iconSide="right"
disabled={!selectedItems.length}
onClick={this.onActionButtonClick}
data-test-subj="actionButton"
>
Actions
</EuiButton>
</EuiSmallButton>
);
const actions = [
<EuiButton iconType="refresh" onClick={this.getPolicies} data-test-subj="refreshButton">
Expand Down

0 comments on commit 368beb9

Please sign in to comment.