Skip to content

Commit bc22f54

Browse files
committed
fixed a minor typo while rendering api-request authentication info
1 parent afa922b commit bc22f54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/api-request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ export default class ApiRequest extends LitElement {
905905
${this.api_keys.length > 0
906906
? html`<div style="color:var(--blue); overflow:hidden;">
907907
${this.api_keys.length === 1
908-
? `${this.api_keys[0].typeDisplay}' in ${this.api_keys[0].in}`
908+
? `${this.api_keys[0]?.typeDisplay} in ${this.api_keys[0].in}`
909909
: `${this.api_keys.length} API keys applied`
910910
}
911911
</div>`

0 commit comments

Comments
 (0)