isFilterLabelActive: refId is not optional

This commit is contained in:
Matias Chomicki 2023-10-27 11:59:02 +02:00
parent 2709ec6e95
commit 008931b7e9
6 changed files with 6 additions and 6 deletions

View File

@ -99,7 +99,7 @@ interface Props extends Themeable2 {
eventBus: EventBus;
panelState?: ExplorePanelsState;
scrollElement?: HTMLDivElement;
isFilterLabelActive?: (key: string, value: string, refId?: string) => Promise<boolean>;
isFilterLabelActive?: (key: string, value: string, refId: string) => Promise<boolean>;
logsFrames?: DataFrame[];
range: TimeRange;
}

View File

@ -54,7 +54,7 @@ interface LogsContainerProps extends PropsFromRedux {
eventBus: EventBus;
splitOpenFn: SplitOpen;
scrollElement?: HTMLDivElement;
isFilterLabelActive: (key: string, value: string, refId?: string) => Promise<boolean>;
isFilterLabelActive: (key: string, value: string, refId: string) => Promise<boolean>;
}
interface LogsContainerState {

View File

@ -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<boolean>;
isFilterLabelActive?: (key: string, value: string, refId: string) => Promise<boolean>;
}
class UnThemedLogDetails extends PureComponent<Props> {

View File

@ -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<boolean>;
isFilterLabelActive?: (key: string, value: string, refId: string) => Promise<boolean>;
}
interface State {

View File

@ -42,7 +42,7 @@ interface Props extends Themeable2 {
styles: LogRowStyles;
permalinkedRowId?: string;
scrollIntoView?: (element: HTMLElement) => void;
isFilterLabelActive?: (key: string, value: string, refId?: string) => Promise<boolean>;
isFilterLabelActive?: (key: string, value: string, refId: string) => Promise<boolean>;
onPinLine?: (row: LogRowModel) => void;
onUnpinLine?: (row: LogRowModel) => void;
pinned?: boolean;

View File

@ -51,7 +51,7 @@ export interface Props extends Themeable2 {
onPermalinkClick?: (row: LogRowModel) => Promise<void>;
permalinkedRowId?: string;
scrollIntoView?: (element: HTMLElement) => void;
isFilterLabelActive?: (key: string, value: string, refId?: string) => Promise<boolean>;
isFilterLabelActive?: (key: string, value: string, refId: string) => Promise<boolean>;
pinnedRowId?: string;
containerRendered?: boolean;
/**