show notification if diff is empty

This commit is contained in:
Eduard Heimbuch
2019-11-20 13:40:40 +01:00
parent 5797b89a8a
commit 5de7d5df94
5 changed files with 24 additions and 15 deletions

View File

@@ -43,6 +43,7 @@ class LoadingDiff extends React.Component<Props, State> {
fetchDiff = () => {
const { url } = this.props;
this.setState({loading: true});
apiClient
.get(url)
.then(response => response.text())