From 51ce08e253a8c4300585381b0720e97e5d653a10 Mon Sep 17 00:00:00 2001 From: Konstantin Schaper Date: Thu, 14 May 2020 10:56:16 +0200 Subject: [PATCH] Fix loading spinner not showing in changesets --- scm-ui/ui-webapp/src/repos/containers/Changesets.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scm-ui/ui-webapp/src/repos/containers/Changesets.tsx b/scm-ui/ui-webapp/src/repos/containers/Changesets.tsx index eded15c8c5..98601e86c1 100644 --- a/scm-ui/ui-webapp/src/repos/containers/Changesets.tsx +++ b/scm-ui/ui-webapp/src/repos/containers/Changesets.tsx @@ -66,7 +66,9 @@ class Changesets extends React.Component { } shouldComponentUpdate(nextProps: Readonly): boolean { - return this.props.changesets !== nextProps.changesets; + return this.props.changesets !== nextProps.changesets || + this.props.loading !== nextProps.loading || + this.props.error !== nextProps.error; } render() {