fix: add tooltip to log button in AssistantGroupButton component (#17532)

This commit is contained in:
chanx
2026-07-29 17:18:01 +08:00
committed by GitHub
parent f8e01d558e
commit 26f0dc234e

View File

@@ -118,7 +118,14 @@ export const AssistantGroupButton = ({
)}
{showLog && (
<ToggleGroupItem value="f" onClick={handleShowLogSheet}>
<NotebookText className="size-4" />
<Tooltip>
<TooltipTrigger asChild>
<span>
<NotebookText className="size-4" />
</span>
</TooltipTrigger>
<TooltipContent>{t('flow.log')}</TooltipContent>
</Tooltip>
</ToggleGroupItem>
)}
{!!attachment?.doc_id && !isShare && (