update end-date in alarm history
Change-Id: Ib338fddcb7f64256e2714a89b342848905d2b48a Closes-bug: #28765
This commit is contained in:
parent
0729eb5eec
commit
ecf05d58bc
@ -73,6 +73,8 @@
|
||||
};
|
||||
|
||||
if (alarmList.radioModel === 'historyAlarms') {
|
||||
alarmList.toDateTime = new Date();
|
||||
alarmList.toDateTime.setMilliseconds(0);
|
||||
config.start = alarmList.fromDateTime;
|
||||
config.end = alarmList.toDateTime;
|
||||
}
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
<label class="btn btn-primary"
|
||||
ng-model="alarmList.radioModel"
|
||||
ng-click="alarmList.getHistoryData('')"
|
||||
uib-btn-radio="'historyAlarms'">Alarm History</label>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user