Skip to content

Commit

Permalink
Fix bad useNewUX applications
Browse files Browse the repository at this point in the history
Signed-off-by: Miki <miki@amazon.com>
  • Loading branch information
AMoo-Miki committed Aug 19, 2024
1 parent 160f139 commit 333af07
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion public/components/FilterGroup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export default function FilterGroup({ options, value, filterButtonProps, useNewU
numFilters={options?.length}
hasActiveFilters={!!value?.length}
numActiveFilters={value?.length}
size={useNewUx ? "s" : undefined}
{...filterButtonProps}
/>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
EuiSmallButtonEmpty,
EuiCallOut,
EuiLink,
EuiIcon,
EuiText,
} from "@elastic/eui";
import queryString from "query-string";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface DataStreamsActionsProps {
}

export default function DataStreamsActions(props: DataStreamsActionsProps) {
const { selectedItems, onDelete, history, useNewUX } = props;
const { selectedItems, onDelete, history } = props;
const [deleteIndexModalVisible, setDeleteIndexModalVisible] = useState(false);
const [clearCacheModalVisible, setClearCacheModalVisible] = useState(false);
const [flushDataStreamModalVisible, setFlushDataStreamModalVisible] = useState(false);
Expand Down Expand Up @@ -52,7 +52,7 @@ export default function DataStreamsActions(props: DataStreamsActionsProps) {
data-test-subj="moreAction"
panelPaddingSize="none"
button={
<EuiButton iconType="arrowDown" iconSide="right" size={useNewUX ? "s" : undefined}>
<EuiButton iconType="arrowDown" iconSide="right">
Actions
</EuiButton>
}
Expand Down

0 comments on commit 333af07

Please sign in to comment.