fix(graph): copy command text directly from PDV (#29645)

This commit is contained in:
MaxKless 2025-01-17 15:46:07 +01:00 committed by GitHub
parent bb03ed7d82
commit 37f994ad75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,10 +31,7 @@ export function TargetExecutorTitle({
<span className="font-medium"> <span className="font-medium">
Command Command
<span className="mb-1 ml-2 hidden group-hover:inline"> <span className="mb-1 ml-2 hidden group-hover:inline">
<CopyToClipboardButton <CopyToClipboardButton text={command} tooltipText="Copy Command" />
text={`"command": "${command}"`}
tooltipText="Copy Command"
/>
</span> </span>
</span> </span>
); );