Skip to content

Commit

Permalink
fixs
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic committed Mar 2, 2021
1 parent e7df5ec commit 59bd0f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ interface HeaderContentProps {
isLoading: boolean;
isResizing: boolean;
onClick: () => void;
showSortingCapability?: boolean;
sort: Sort[];
}

Expand All @@ -31,10 +32,11 @@ const HeaderContentComponent: React.FC<HeaderContentProps> = ({
isLoading,
isResizing,
onClick,
showSortingCapability,
sort,
}) => (
<EventsHeading data-test-subj={`header-${header.id}`} isLoading={isLoading}>
{header.aggregatable ? (
{header.aggregatable && showSortingCapability ? (
<EventsHeadingTitleButton
data-test-subj="header-sort-button"
onClick={!isResizing && !isLoading ? onClick : noop}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
import { toStringArray } from '../../../../helpers/to_array';
import { getDataSafety, getDataFromFieldsHits } from '../details/helpers';


export const formatTimelineData = async (
dataFields: readonly string[],
ecsFields: readonly string[],
Expand Down

0 comments on commit 59bd0f2

Please sign in to comment.