Skip to content

Commit

Permalink
Merge pull request #18842 from GordonSmith/HPCC-31408-METRICS_SORT_PROPS
Browse files Browse the repository at this point in the history
HPCC-31408 Enable sorting for metric properties
  • Loading branch information
GordonSmith authored Jul 4, 2024
2 parents 2e67cf1 + 7cc3f95 commit 96c8b05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions esp/src/src-react/components/Metrics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ export const Metrics: React.FunctionComponent<MetricsProps> = ({
const propsTable2 = useConst(() => new Table()
.columns([nlsHPCC.Property, nlsHPCC.Value])
.columnWidth("auto")
.sortable(true)
);

const updatePropsTable2 = React.useCallback((selection: IScope[]) => {
Expand Down
1 change: 1 addition & 0 deletions esp/src/src-react/components/MetricsPropertiesTables.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const MetricsPropertiesTables: React.FunctionComponent<MetricsPropertiesT
const propsTable = useConst(() => new Table()
.columns([nlsHPCC.Property, nlsHPCC.Value, "Avg", "Min", "Max", "Delta", "StdDev", "SkewMin", "SkewMax", "NodeMin", "NodeMax"])
.columnWidth("auto")
.sortable(true)
);

React.useEffect(() => {
Expand Down

0 comments on commit 96c8b05

Please sign in to comment.