From 153b95d4e5040a5c36931c3d5c304da0b0fb70ef Mon Sep 17 00:00:00 2001 From: Dmitry Filimonov Date: Tue, 10 Aug 2021 00:20:54 -0700 Subject: [PATCH] fixes a bug where app name changes didn't trigger a render --- webapp/javascript/components/FlameGraphRenderer.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/javascript/components/FlameGraphRenderer.jsx b/webapp/javascript/components/FlameGraphRenderer.jsx index 2ca99246ba..a375e16ebe 100644 --- a/webapp/javascript/components/FlameGraphRenderer.jsx +++ b/webapp/javascript/components/FlameGraphRenderer.jsx @@ -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;