Browse Source

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

Torkel Ödegaard 8 năm trước cách đây
mục cha
commit
2a52e25d5b
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      public/app/features/dashboard/history/history.ts

+ 0 - 1
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; });
     }
   }