From 854f6229f7364f43ad0fafd67859ec539f96d27f Mon Sep 17 00:00:00 2001 From: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> Date: Tue, 15 Dec 2020 12:16:52 +0100 Subject: [PATCH] Pass row (#29839) --- public/app/features/explore/LogsContainer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/explore/LogsContainer.tsx b/public/app/features/explore/LogsContainer.tsx index 1b2fc53a27c..5d6330caf01 100644 --- a/public/app/features/explore/LogsContainer.tsx +++ b/public/app/features/explore/LogsContainer.tsx @@ -91,11 +91,11 @@ export class LogsContainer extends PureComponent { return []; }; - showContextToggle = (): boolean => { + showContextToggle = (row?: LogRowModel): boolean => { const { datasourceInstance } = this.props; if (datasourceInstance?.showContextToggle) { - return datasourceInstance.showContextToggle(); + return datasourceInstance.showContextToggle(row); } return false;