Skip to content

armgit / burr

Public Imported from GitHub
0

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

Enables clipboard in JSON view

elijahbenizzy62aabb87fe3d
diff --git a/telemetry/ui/src/components/routes/app/DataView.tsx b/telemetry/ui/src/components/routes/app/DataView.tsx
index e23d8d81..0a0d2312 100644
--- a/telemetry/ui/src/components/routes/app/DataView.tsx
+++ b/telemetry/ui/src/components/routes/app/DataView.tsx
@@ -16,7 +16,7 @@ import { ChevronDownIcon, ChevronUpIcon } from '@heroicons/react/20/solid';
const CommonJsonView = (props: { value: object; collapsed?: number }) => {
const collapsed = props.collapsed || 2;
return (
- <JsonView value={props.value} collapsed={collapsed} enableClipboard={false}>
+ <JsonView value={props.value} collapsed={collapsed} enableClipboard={true}>
<JsonView.Arrow
// @ts-ignore
render={({ 'data-expanded': isExpanded }) => {