Commit 854f6229 by Ivana Huckova Committed by GitHub

Pass row (#29839)

parent 69b05aae
...@@ -91,11 +91,11 @@ export class LogsContainer extends PureComponent<LogsContainerProps> { ...@@ -91,11 +91,11 @@ export class LogsContainer extends PureComponent<LogsContainerProps> {
return []; return [];
}; };
showContextToggle = (): boolean => { showContextToggle = (row?: LogRowModel): boolean => {
const { datasourceInstance } = this.props; const { datasourceInstance } = this.props;
if (datasourceInstance?.showContextToggle) { if (datasourceInstance?.showContextToggle) {
return datasourceInstance.showContextToggle(); return datasourceInstance.showContextToggle(row);
} }
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment