From 008931b7e9d068c34482ced164a42bd59160e850 Mon Sep 17 00:00:00 2001 From: Matias Chomicki Date: Fri, 27 Oct 2023 11:59:02 +0200 Subject: [PATCH] isFilterLabelActive: refId is not optional --- public/app/features/explore/Logs/Logs.tsx | 2 +- public/app/features/explore/Logs/LogsContainer.tsx | 2 +- public/app/features/logs/components/LogDetails.tsx | 2 +- public/app/features/logs/components/LogDetailsRow.tsx | 2 +- public/app/features/logs/components/LogRow.tsx | 2 +- public/app/features/logs/components/LogRows.tsx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/app/features/explore/Logs/Logs.tsx b/public/app/features/explore/Logs/Logs.tsx index c57915b5d48..1c94baadce1 100644 --- a/public/app/features/explore/Logs/Logs.tsx +++ b/public/app/features/explore/Logs/Logs.tsx @@ -99,7 +99,7 @@ interface Props extends Themeable2 { eventBus: EventBus; panelState?: ExplorePanelsState; scrollElement?: HTMLDivElement; - isFilterLabelActive?: (key: string, value: string, refId?: string) => Promise; + isFilterLabelActive?: (key: string, value: string, refId: string) => Promise; logsFrames?: DataFrame[]; range: TimeRange; } diff --git a/public/app/features/explore/Logs/LogsContainer.tsx b/public/app/features/explore/Logs/LogsContainer.tsx index f8f2034fe77..c0c646d435b 100644 --- a/public/app/features/explore/Logs/LogsContainer.tsx +++ b/public/app/features/explore/Logs/LogsContainer.tsx @@ -54,7 +54,7 @@ interface LogsContainerProps extends PropsFromRedux { eventBus: EventBus; splitOpenFn: SplitOpen; scrollElement?: HTMLDivElement; - isFilterLabelActive: (key: string, value: string, refId?: string) => Promise; + isFilterLabelActive: (key: string, value: string, refId: string) => Promise; } interface LogsContainerState { diff --git a/public/app/features/logs/components/LogDetails.tsx b/public/app/features/logs/components/LogDetails.tsx index ecd529407a3..d695897a3a4 100644 --- a/public/app/features/logs/components/LogDetails.tsx +++ b/public/app/features/logs/components/LogDetails.tsx @@ -26,7 +26,7 @@ export interface Props extends Themeable2 { displayedFields?: string[]; onClickShowField?: (key: string) => void; onClickHideField?: (key: string) => void; - isFilterLabelActive?: (key: string, value: string, refId?: string) => Promise; + isFilterLabelActive?: (key: string, value: string, refId: string) => Promise; } class UnThemedLogDetails extends PureComponent { diff --git a/public/app/features/logs/components/LogDetailsRow.tsx b/public/app/features/logs/components/LogDetailsRow.tsx index 1098ee783f3..34257509220 100644 --- a/public/app/features/logs/components/LogDetailsRow.tsx +++ b/public/app/features/logs/components/LogDetailsRow.tsx @@ -25,7 +25,7 @@ export interface Props extends Themeable2 { onClickHideField?: (key: string) => void; row: LogRowModel; app?: CoreApp; - isFilterLabelActive?: (key: string, value: string, refId?: string) => Promise; + isFilterLabelActive?: (key: string, value: string, refId: string) => Promise; } interface State { diff --git a/public/app/features/logs/components/LogRow.tsx b/public/app/features/logs/components/LogRow.tsx index 3ab307a919c..13d113e13db 100644 --- a/public/app/features/logs/components/LogRow.tsx +++ b/public/app/features/logs/components/LogRow.tsx @@ -42,7 +42,7 @@ interface Props extends Themeable2 { styles: LogRowStyles; permalinkedRowId?: string; scrollIntoView?: (element: HTMLElement) => void; - isFilterLabelActive?: (key: string, value: string, refId?: string) => Promise; + isFilterLabelActive?: (key: string, value: string, refId: string) => Promise; onPinLine?: (row: LogRowModel) => void; onUnpinLine?: (row: LogRowModel) => void; pinned?: boolean; diff --git a/public/app/features/logs/components/LogRows.tsx b/public/app/features/logs/components/LogRows.tsx index 7476e73f290..a3576cb7dfd 100644 --- a/public/app/features/logs/components/LogRows.tsx +++ b/public/app/features/logs/components/LogRows.tsx @@ -51,7 +51,7 @@ export interface Props extends Themeable2 { onPermalinkClick?: (row: LogRowModel) => Promise; permalinkedRowId?: string; scrollIntoView?: (element: HTMLElement) => void; - isFilterLabelActive?: (key: string, value: string, refId?: string) => Promise; + isFilterLabelActive?: (key: string, value: string, refId: string) => Promise; pinnedRowId?: string; containerRendered?: boolean; /**