Remove unused $scope

This commit is contained in:
Tyler Rockwood 2017-01-10 08:52:03 -08:00
parent a2be7bf060
commit cb2e6fddf4
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import * as _ from 'underscore';
import template from './dashboard.html';
import shareDashboardTemplate from './share-dashboard.html';
function DashboardCtrl($rootScope, $scope, $routeParams, $location, $timeout, $q, $uibModal,
function DashboardCtrl($rootScope, $routeParams, $location, $timeout, $q, $uibModal,
Title, AlertDialog, Dashboard, currentUser, clientConfig, Events) {
this.isFullscreen = false;
this.refreshRate = null;

View File

@ -24,7 +24,7 @@ const EditTextBoxComponent = {
},
};
function DashboardWidgetCtrl($location, $uibModal, $window, $scope, Events, currentUser) {
function DashboardWidgetCtrl($location, $uibModal, $window, Events, currentUser) {
this.canViewQuery = currentUser.hasPermission('view_query');
this.editTextBox = () => {