Explorar o código

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

Torkel Ödegaard %!s(int64=9) %!d(string=hai) anos
pai
achega
9cebcc45c1
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      public/app/features/dashboard/timepicker/timepicker.ts

+ 0 - 2
public/app/features/dashboard/timepicker/timepicker.ts

@@ -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') {