Skip to content

Commit

Permalink
fixes a bug where app name changes didn't trigger a render
Browse files Browse the repository at this point in the history
  • Loading branch information
petethepig committed Aug 10, 2021
1 parent 000b348 commit 153b95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/javascript/components/FlameGraphRenderer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class FlameGraphRenderer extends React.Component {
}

componentDidUpdate(prevProps, prevState) {
const propsChanged = this.getParamsFromRenderURL(this.props.renderURL).name != this.getParamsFromRenderURL(prevProps.renderURL).name ||
const propsChanged = this.getParamsFromRenderURL(this.props.renderURL).query != this.getParamsFromRenderURL(prevProps.renderURL).query ||
prevProps.maxNodes != this.props.maxNodes ||
prevProps.refreshToken != this.props.refreshToken;

Expand Down

0 comments on commit 153b95d

Please sign in to comment.