소스 검색

fix case where timeshift and time override is used

Torkel Ödegaard 7 년 전
부모
커밋
f026be3790
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      public/app/features/dashboard/utils/panel.ts

+ 1 - 1
public/app/features/dashboard/utils/panel.ts

@@ -140,7 +140,7 @@ export const applyPanelTimeOverrides = (
     }
 
     const timeShift = '-' + timeShiftInterpolated;
-    newTimeData.timeInfo = ' timeshift ' + timeShift;
+    newTimeData.timeInfo += ' timeshift ' + timeShift;
     newTimeData.timeRange = {
       from: dateMath.parseDateMath(timeShift, timeRange.from, false),
       to: dateMath.parseDateMath(timeShift, timeRange.to, true),