Skip to content

Commit 810e2a9

Browse files
committed
fix(suite): Fix wallet instance label click
1 parent 1b2aebd commit 810e2a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/suite/src/components/suite/labeling/MetadataLabeling/MetadataLabeling.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,10 @@ export const MetadataLabeling = ({
411411
showActionButton && (!payload.value || (payload.value && pending));
412412

413413
return (
414-
<LabelContainer data-testid={labelContainerDataTest} onClick={e => e.stopPropagation()}>
414+
<LabelContainer
415+
data-testid={labelContainerDataTest}
416+
onClick={e => payload.value && !editActive && e.stopPropagation()}
417+
>
415418
{payload.type === 'outputLabel' ? (
416419
<>
417420
<ButtonLikeLabelWithDropdown

0 commit comments

Comments
 (0)