mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 08:35:43 -06:00
Pass row (#29839)
This commit is contained in:
parent
69b05aae46
commit
854f6229f7
@ -91,11 +91,11 @@ export class LogsContainer extends PureComponent<LogsContainerProps> {
|
||||
return [];
|
||||
};
|
||||
|
||||
showContextToggle = (): boolean => {
|
||||
showContextToggle = (row?: LogRowModel): boolean => {
|
||||
const { datasourceInstance } = this.props;
|
||||
|
||||
if (datasourceInstance?.showContextToggle) {
|
||||
return datasourceInstance.showContextToggle();
|
||||
return datasourceInstance.showContextToggle(row);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user