Explorar el Código

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

Torkel Ödegaard hace 10 años
padre
commit
9cebcc45c1
Se han modificado 1 ficheros con 0 adiciones y 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') {