mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
isFilterLabelActive: refId is not optional
This commit is contained in:
parent
2709ec6e95
commit
008931b7e9
@ -99,7 +99,7 @@ interface Props extends Themeable2 {
|
|||||||
eventBus: EventBus;
|
eventBus: EventBus;
|
||||||
panelState?: ExplorePanelsState;
|
panelState?: ExplorePanelsState;
|
||||||
scrollElement?: HTMLDivElement;
|
scrollElement?: HTMLDivElement;
|
||||||
isFilterLabelActive?: (key: string, value: string, refId?: string) => Promise<boolean>;
|
isFilterLabelActive?: (key: string, value: string, refId: string) => Promise<boolean>;
|
||||||
logsFrames?: DataFrame[];
|
logsFrames?: DataFrame[];
|
||||||
range: TimeRange;
|
range: TimeRange;
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ interface LogsContainerProps extends PropsFromRedux {
|
|||||||
eventBus: EventBus;
|
eventBus: EventBus;
|
||||||
splitOpenFn: SplitOpen;
|
splitOpenFn: SplitOpen;
|
||||||
scrollElement?: HTMLDivElement;
|
scrollElement?: HTMLDivElement;
|
||||||
isFilterLabelActive: (key: string, value: string, refId?: string) => Promise<boolean>;
|
isFilterLabelActive: (key: string, value: string, refId: string) => Promise<boolean>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface LogsContainerState {
|
interface LogsContainerState {
|
||||||
|
@ -26,7 +26,7 @@ export interface Props extends Themeable2 {
|
|||||||
displayedFields?: string[];
|
displayedFields?: string[];
|
||||||
onClickShowField?: (key: string) => void;
|
onClickShowField?: (key: string) => void;
|
||||||
onClickHideField?: (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> {
|
class UnThemedLogDetails extends PureComponent<Props> {
|
||||||
|
@ -25,7 +25,7 @@ export interface Props extends Themeable2 {
|
|||||||
onClickHideField?: (key: string) => void;
|
onClickHideField?: (key: string) => void;
|
||||||
row: LogRowModel;
|
row: LogRowModel;
|
||||||
app?: CoreApp;
|
app?: CoreApp;
|
||||||
isFilterLabelActive?: (key: string, value: string, refId?: string) => Promise<boolean>;
|
isFilterLabelActive?: (key: string, value: string, refId: string) => Promise<boolean>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface State {
|
interface State {
|
||||||
|
@ -42,7 +42,7 @@ interface Props extends Themeable2 {
|
|||||||
styles: LogRowStyles;
|
styles: LogRowStyles;
|
||||||
permalinkedRowId?: string;
|
permalinkedRowId?: string;
|
||||||
scrollIntoView?: (element: HTMLElement) => void;
|
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;
|
onPinLine?: (row: LogRowModel) => void;
|
||||||
onUnpinLine?: (row: LogRowModel) => void;
|
onUnpinLine?: (row: LogRowModel) => void;
|
||||||
pinned?: boolean;
|
pinned?: boolean;
|
||||||
|
@ -51,7 +51,7 @@ export interface Props extends Themeable2 {
|
|||||||
onPermalinkClick?: (row: LogRowModel) => Promise<void>;
|
onPermalinkClick?: (row: LogRowModel) => Promise<void>;
|
||||||
permalinkedRowId?: string;
|
permalinkedRowId?: string;
|
||||||
scrollIntoView?: (element: HTMLElement) => void;
|
scrollIntoView?: (element: HTMLElement) => void;
|
||||||
isFilterLabelActive?: (key: string, value: string, refId?: string) => Promise<boolean>;
|
isFilterLabelActive?: (key: string, value: string, refId: string) => Promise<boolean>;
|
||||||
pinnedRowId?: string;
|
pinnedRowId?: string;
|
||||||
containerRendered?: boolean;
|
containerRendered?: boolean;
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user