disable double stringify (#57243) (#57254)

(cherry picked from commit 598da14d88)

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2022-10-19 06:13:42 -04:00
committed by GitHub
co-authored by Sven Grossmann
parent f03d0facc5
commit 29a03139dd
@@ -172,11 +172,7 @@ class UnThemedLogRowMessage extends PureComponent<Props> {
</Tooltip>
)}
<Tooltip placement="top" content={'Copy'}>
<IconButton
size="md"
name="copy"
onClick={() => navigator.clipboard.writeText(JSON.stringify(restructuredEntry))}
/>
<IconButton size="md" name="copy" onClick={() => navigator.clipboard.writeText(restructuredEntry)} />
</Tooltip>
</span>
)}