Fix loading spinner not showing in changesets

This commit is contained in:
Konstantin Schaper
2020-05-14 10:56:16 +02:00
parent 0d37378dc6
commit 51ce08e253

View File

@@ -66,7 +66,9 @@ class Changesets extends React.Component<Props> {
}
shouldComponentUpdate(nextProps: Readonly<Props>): boolean {
return this.props.changesets !== nextProps.changesets;
return this.props.changesets !== nextProps.changesets ||
this.props.loading !== nextProps.loading ||
this.props.error !== nextProps.error;
}
render() {