This commit is contained in:
Ivana Huckova 2020-12-15 12:16:52 +01:00 committed by GitHub
parent 69b05aae46
commit 854f6229f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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