mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
logs: context: removed unused code (#69383)
This commit is contained in:
parent
51107e9cab
commit
e5ec8535ec
@ -538,7 +538,6 @@ class UnthemedLogs extends PureComponent<Props, State> {
|
||||
deduplicatedRows={dedupedRows}
|
||||
dedupStrategy={dedupStrategy}
|
||||
getRowContext={getRowContext}
|
||||
getLogRowContextUi={getLogRowContextUi}
|
||||
onClickFilterLabel={onClickFilterLabel}
|
||||
onClickFilterOutLabel={onClickFilterOutLabel}
|
||||
showContextToggle={showContextToggle}
|
||||
|
@ -43,7 +43,6 @@ interface Props extends Themeable2 {
|
||||
onClickFilterOutLabel?: (key: string, value: string) => void;
|
||||
onContextClick?: () => void;
|
||||
getRowContext: (row: LogRowModel, options?: LogRowContextOptions) => Promise<DataQueryResponse>;
|
||||
getLogRowContextUi?: (row: LogRowModel) => React.ReactNode;
|
||||
getFieldLinks?: (field: Field, rowIndex: number, dataFrame: DataFrame) => Array<LinkModel<Field>>;
|
||||
showContextToggle?: (row?: LogRowModel) => boolean;
|
||||
onClickShowField?: (key: string) => void;
|
||||
|
@ -42,7 +42,6 @@ export interface Props extends Themeable2 {
|
||||
onClickFilterLabel?: (key: string, value: string) => void;
|
||||
onClickFilterOutLabel?: (key: string, value: string) => void;
|
||||
getRowContext?: (row: LogRowModel, options?: LogRowContextOptions) => Promise<DataQueryResponse>;
|
||||
getLogRowContextUi?: (row: LogRowModel, runContextQuery?: () => void) => React.ReactNode;
|
||||
getFieldLinks?: (field: Field, rowIndex: number, dataFrame: DataFrame) => Array<LinkModel<Field>>;
|
||||
onClickShowField?: (key: string) => void;
|
||||
onClickHideField?: (key: string) => void;
|
||||
@ -125,7 +124,6 @@ class UnThemedLogRows extends PureComponent<Props, State> {
|
||||
forceEscape,
|
||||
onLogRowHover,
|
||||
app,
|
||||
getLogRowContextUi,
|
||||
} = this.props;
|
||||
const { renderAll } = this.state;
|
||||
const styles = getLogRowStyles(theme);
|
||||
@ -154,7 +152,6 @@ class UnThemedLogRows extends PureComponent<Props, State> {
|
||||
key={row.uid}
|
||||
getRows={getRows}
|
||||
getRowContext={getRowContext}
|
||||
getLogRowContextUi={getLogRowContextUi}
|
||||
row={row}
|
||||
showContextToggle={showContextToggle}
|
||||
showDuplicates={showDuplicates}
|
||||
@ -185,7 +182,6 @@ class UnThemedLogRows extends PureComponent<Props, State> {
|
||||
key={row.uid}
|
||||
getRows={getRows}
|
||||
getRowContext={getRowContext}
|
||||
getLogRowContextUi={getLogRowContextUi}
|
||||
row={row}
|
||||
showContextToggle={showContextToggle}
|
||||
showDuplicates={showDuplicates}
|
||||
|
Loading…
Reference in New Issue
Block a user