fix(unsaved changes): fix for unsaved changes warning when changing time range to relative rime range, #4176

This commit is contained in:
Torkel Ödegaard
2016-02-28 07:28:55 +01:00
parent 352cdc137d
commit 9cebcc45c1

View File

@@ -129,8 +129,6 @@ export class TimePickerCtrl {
}
setRelativeFilter(timespan) {
this.panel.now = true;
var range = {from: timespan.from, to: timespan.to};
if (this.panel.nowDelay && range.to === 'now') {