Browse Source

TB-38: Implement timeseries table widget. (#41)

pull/19/merge
Igor Kulikov 10 years ago
committed by GitHub
parent
commit
10cbc9692a
  1. 5
      dao/src/main/resources/system-data.cql
  2. 3
      ui/src/app/components/widget.controller.js

5
dao/src/main/resources/system-data.cql

File diff suppressed because one or more lines are too long

3
ui/src/app/components/widget.controller.js

@ -18,7 +18,7 @@ import $ from 'jquery';
/* eslint-disable angular/angularelement */
/*@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) {
var vm = this;
@ -67,6 +67,7 @@ export default function WidgetController($scope, $timeout, $window, $element, $q
$scope.$timeout = $timeout;
$scope.$q = $q;
$scope.$injector = $injector;
$scope.rpcRejection = null;
$scope.rpcErrorText = null;

Loading…
Cancel
Save