mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 17:38:54 +00:00
Remove unused $scope
This commit is contained in:
parent
a2be7bf060
commit
cb2e6fddf4
@ -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;
|
||||
|
@ -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 = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user