diff --git a/src/filter/ruleComponent.js b/src/filter/ruleComponent.js index 3353a454ff58..b320932897ae 100644 --- a/src/filter/ruleComponent.js +++ b/src/filter/ruleComponent.js @@ -227,12 +227,12 @@ exports.RuleController_ = class { * @export */ this.timeRangeMode = { - widget: /** @type {ngeox.TimePropertyWidgetEnum} */ ('datepicker'), + widget: 'datepicker', maxValue: this.createDate_(), minValue: this.createWeekAgoDate_(), maxDefValue: null, minDefValue: null, - mode: /** @type {ngeox.TimePropertyModeEnum} */ ('range'), + mode: 'range', interval: [0, 1, 0, 0] }; @@ -243,12 +243,12 @@ exports.RuleController_ = class { * @export */ this.timeValueMode = { - widget: /** @type {ngeox.TimePropertyWidgetEnum} */ ('datepicker'), + widget: 'datepicker', maxValue: this.createDate_(), minValue: this.createDate_(), maxDefValue: null, minDefValue: null, - mode: /** @type {ngeox.TimePropertyModeEnum} */ ('value'), + mode: 'value', interval: [0, 1, 0, 0] }; diff --git a/src/filter/rulecomponent.html b/src/filter/rulecomponent.html index 39de87f381a5..ac7b969499a5 100644 --- a/src/filter/rulecomponent.html +++ b/src/filter/rulecomponent.html @@ -26,7 +26,7 @@ ng-switch-when="date|datetime" ng-switch-when-separator="|">