diff --git a/web/containers/SliderRightPanel/index.tsx b/web/containers/SliderRightPanel/index.tsx
index 3fad10212..5022845c9 100644
--- a/web/containers/SliderRightPanel/index.tsx
+++ b/web/containers/SliderRightPanel/index.tsx
@@ -73,7 +73,7 @@ const SliderRightPanel = ({
trigger={
@@ -118,11 +119,13 @@ type InputActionProps = {
onAction: (action: InputAction) => void
copied: boolean
obscure: boolean
+ value: string | string[]
}
const InputExtraActions: React.FC = ({
actions,
onAction,
+ value,
copied,
obscure,
}) => {
@@ -141,11 +144,15 @@ const InputExtraActions: React.FC = ({
className="text-green-600"
/>
) : (
- onAction('copy')}
- />
+ <>
+ {value.length > 0 && (
+ onAction('copy')}
+ />
+ )}
+ >
)
case 'unobscure':