Skip to content

Commit d7c4f58

Browse files
committed
Remove custom time range option from links
1 parent fbea8d3 commit d7c4f58

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

src/plugins/embeddable/public/embeddable_panel/panel_actions/customize_panel_action/time_range_helpers.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,9 @@ export function isTimeRangeCompatible({ embeddable }: { embeddable: IEmbeddable
4040
(embeddable as VisualizeEmbeddable).getOutput().visTypeName === 'markdown';
4141

4242
const isImage = embeddable.type === 'image';
43-
const isNavigation = embeddable.type === 'navigation';
43+
const isLinks = embeddable.type === 'links';
4444

4545
return Boolean(
46-
embeddable &&
47-
hasTimeRange(embeddable) &&
48-
!isInputControl &&
49-
!isMarkdown &&
50-
!isImage &&
51-
!isNavigation
46+
embeddable && hasTimeRange(embeddable) && !isInputControl && !isMarkdown && !isImage && !isLinks
5247
);
5348
}

0 commit comments

Comments
 (0)