TB-38: Implement timeseries table widget. (#41)
This commit is contained in:
parent
d3ffde5dee
commit
10cbc9692a
File diff suppressed because one or more lines are too long
@ -18,7 +18,7 @@ import $ from 'jquery';
|
|||||||
/* eslint-disable angular/angularelement */
|
/* eslint-disable angular/angularelement */
|
||||||
|
|
||||||
/*@ngInject*/
|
/*@ngInject*/
|
||||||
export default function WidgetController($scope, $timeout, $window, $element, $q, $log, types, visibleRect,
|
export default function WidgetController($scope, $timeout, $window, $element, $q, $log, $injector, types, visibleRect,
|
||||||
datasourceService, deviceService, isPreview, widget, deviceAliasList, fns) {
|
datasourceService, deviceService, isPreview, widget, deviceAliasList, fns) {
|
||||||
|
|
||||||
var vm = this;
|
var vm = this;
|
||||||
@ -67,6 +67,7 @@ export default function WidgetController($scope, $timeout, $window, $element, $q
|
|||||||
|
|
||||||
$scope.$timeout = $timeout;
|
$scope.$timeout = $timeout;
|
||||||
$scope.$q = $q;
|
$scope.$q = $q;
|
||||||
|
$scope.$injector = $injector;
|
||||||
|
|
||||||
$scope.rpcRejection = null;
|
$scope.rpcRejection = null;
|
||||||
$scope.rpcErrorText = null;
|
$scope.rpcErrorText = null;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user