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

This commit is contained in:
Torkel Ödegaard 2017-06-05 23:06:31 +02:00
parent cabbfe9adc
commit 2a52e25d5b

View File

@ -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; });
}
}