From 2a52e25d5bc5f53bb22ed07052426e4dd1a2412e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 5 Jun 2017 23:06:31 +0200 Subject: [PATCH] refactoring: removed double error alert, backendSrv is already showing an error alert --- public/app/features/dashboard/history/history.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/public/app/features/dashboard/history/history.ts b/public/app/features/dashboard/history/history.ts index 11091c6010f..44d8a0f2226 100644 --- a/public/app/features/dashboard/history/history.ts +++ b/public/app/features/dashboard/history/history.ts @@ -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; }); } }