Skip to content

Commit

Permalink
Render description for custom auth if prefix is available
Browse files Browse the repository at this point in the history
  • Loading branch information
sulaiman-fern committed Jul 31, 2024
1 parent 5c00076 commit 9642ab6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const UnmemoizedEndpointContentLeft: React.FC<EndpointContentLeft.Props> = ({
header: (value) => {
return {
key: value.headerWireValue,
description: `Header authentication of the form ${value.prefix ? value.prefix + " " : ""}${value.headerWireValue} <token>`,
description: value.prefix && `Header authentication of the form ${value.prefix} <token>`,
hidden: false,
valueShape: {
type: "unknown",
Expand Down

0 comments on commit 9642ab6

Please sign in to comment.