From 74a3058daee6c6de41b43f84a482cc5b1481cd75 Mon Sep 17 00:00:00 2001 From: Dan Hodgson Date: Mon, 27 Jan 2025 09:46:12 +0000 Subject: [PATCH] fix(opspilot): handle opspilot linkage differently --- public/app/features/logs/components/LogDetailsRow.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/app/features/logs/components/LogDetailsRow.tsx b/public/app/features/logs/components/LogDetailsRow.tsx index 2bf94eabf0..b955d9af59 100644 --- a/public/app/features/logs/components/LogDetailsRow.tsx +++ b/public/app/features/logs/components/LogDetailsRow.tsx @@ -16,6 +16,7 @@ import { } from '@grafana/data'; import { reportInteraction } from '@grafana/runtime'; import { ClipboardButton, DataLinkButton, IconButton, PopoverContent, Themeable2, withTheme2 } from '@grafana/ui'; +import { OpspilotDataLinkButton } from 'app/intergral/OpspilotDataLinkButton'; import { logRowToSingleRowDataFrame } from '../logsModel'; @@ -341,6 +342,7 @@ class UnThemedLogDetailsRow extends PureComponent { } return ( + {link.title === "OpsPilot AI" ? : { : undefined, }} link={link} - /> + />} ); })}