mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
refactoring: removed double error alert, backendSrv is already showing an error alert
This commit is contained in:
parent
cabbfe9adc
commit
2a52e25d5b
@ -113,7 +113,6 @@ export class HistoryListCtrl {
|
|||||||
this.delta[this.diff] = response;
|
this.delta[this.diff] = response;
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.mode = 'list';
|
this.mode = 'list';
|
||||||
this.$rootScope.appEvent('alert-error', ['There was an error fetching the diff', (err.message || err)]);
|
|
||||||
}).finally(() => { this.loading = false; });
|
}).finally(() => { this.loading = false; });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user