Skip to content

Commit

Permalink
ui: highlight table create on reload
Browse files Browse the repository at this point in the history
Fixes: #23903
Release note: None
  • Loading branch information
couchand committed Mar 15, 2018
1 parent 06f6ae1 commit ad69163
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/ui/src/views/databases/containers/tableDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ class TableMain extends React.Component<TableMainProps, {}> {
hljs.highlightBlock(this.createStmtNode);
}

componentDidUpdate() {
hljs.highlightBlock(this.createStmtNode);
}

render() {
const { tableInfo, grantsSortSetting } = this.props;

Expand Down

0 comments on commit ad69163

Please sign in to comment.