Skip to content

Commit aedb4ac

Browse files
authored
Always display help button in object details view (#7397)
* always display help button * remove test
1 parent b036efb commit aedb4ac

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

frontend/app/src/entities/nodes/object-header.tsx

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,11 @@ const ObjectDetailsHeader = ({ schema, objectId }: ObjectHeaderProps & { objectI
9494
await queryClient.invalidateQueries({ queryKey: objectQueryKeys.all });
9595
}}
9696
end={
97-
objectDetailsData?.hfid &&
98-
objectId && (
99-
<ObjectHelpButton
100-
kind={schema.kind}
101-
documentationUrl={schema.documentation}
102-
className="ml-auto"
103-
/>
104-
)
97+
<ObjectHelpButton
98+
kind={schema.kind}
99+
documentationUrl={schema.documentation}
100+
className="ml-auto"
101+
/>
105102
}
106103
data-testid="object-header"
107104
/>

0 commit comments

Comments
 (0)