Skip to content

Commit

Permalink
ui: rename % Of All Run Time sort option
Browse files Browse the repository at this point in the history
This commit renames the sort option mentioned above
to `% Of All Runtime`.

Epic: none

Release note: None
  • Loading branch information
xinhaoz committed Mar 21, 2023
1 parent 269764a commit 25f34b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,7 @@ export class StatementDetails extends React.Component<
};

componentDidMount(): void {
if (!this.props.statementDetails) {
this.refreshStatementDetails();
}
this.refreshStatementDetails();

window.addEventListener("resize", this.handleResize);
this.handleResize();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function getSortLabel(sort: SqlStatsSortType): string {
case SqlStatsSortOptions.CONTENTION_TIME:
return "Contention Time";
case SqlStatsSortOptions.PCT_RUNTIME:
return "% Of All Run Time";
return "% Of All Runtime";
default:
return "";
}
Expand Down

0 comments on commit 25f34b2

Please sign in to comment.