logs: context: removed unused code (#69383)

This commit is contained in:
Gábor Farkas 2023-06-01 16:38:31 +02:00 committed by GitHub
parent 51107e9cab
commit e5ec8535ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 6 deletions

View File

@ -538,7 +538,6 @@ class UnthemedLogs extends PureComponent<Props, State> {
deduplicatedRows={dedupedRows}
dedupStrategy={dedupStrategy}
getRowContext={getRowContext}
getLogRowContextUi={getLogRowContextUi}
onClickFilterLabel={onClickFilterLabel}
onClickFilterOutLabel={onClickFilterOutLabel}
showContextToggle={showContextToggle}

View File

@ -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;

View File

@ -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}