File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -520,7 +520,10 @@ export function pathSecurityTemplate(pathSecurity) {
520
520
${ i !== 0 ? html `< div style ="padding:3px 4px; "> OR </ div > ` : '' }
521
521
< div class ="tooltip ">
522
522
< div style = "padding:2px 4px; white-space:nowrap; text-overflow:ellipsis;max-width:150px; overflow:hidden; ">
523
- < a part ="anchor anchor-operation-security " href ="#auth "> ${ orSecurityItem1 . securityTypes } </ a >
523
+ ${ this . updateRoute === 'true' && this . allowAuthentication === 'true'
524
+ ? html `< a part ="anchor anchor-operation-security " href ="#auth "> ${ orSecurityItem1 . securityTypes } </ a > `
525
+ : html `${ orSecurityItem1 . securityTypes } `
526
+ }
524
527
</ div >
525
528
< div class ="tooltip-text " style ="position:absolute; color: var(--fg); top:26px; right:0; border:1px solid var(--border-color);padding:2px 4px; display:block; ">
526
529
${ orSecurityItem1 . securityDefs . length > 1 ? html `< div > Requires < b > all</ b > of the following </ div > ` : '' }
You can’t perform that action at this time.
0 commit comments