diff --git a/public/app/features/dashboard/panel_editor/QueryOptions.tsx b/public/app/features/dashboard/panel_editor/QueryOptions.tsx index 8c59edf456d..0d031cb12ba 100644 --- a/public/app/features/dashboard/panel_editor/QueryOptions.tsx +++ b/public/app/features/dashboard/panel_editor/QueryOptions.tsx @@ -210,10 +210,11 @@ export class QueryOptions extends PureComponent { value={timeShift} /> - -
- -
+ {(timeShift || relativeTime) && ( +
+ +
+ )} ); }