Commit 2a52e25d by Torkel Ödegaard

refactoring: removed double error alert, backendSrv is already showing an error alert

parent cabbfe9a
......@@ -113,7 +113,6 @@ export class HistoryListCtrl {
this.delta[this.diff] = response;
}).catch(err => {
this.mode = 'list';
this.$rootScope.appEvent('alert-error', ['There was an error fetching the diff', (err.message || err)]);
}).finally(() => { this.loading = false; });
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment