File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -278,8 +278,8 @@ export class ApiUrl extends AmfHelperMixin(LitElement) {
278
278
}
279
279
280
280
renderAsyncApi ( asyncServersNames ) {
281
- const { url, _method } = this ;
282
- if ( ! _method ) {
281
+ const { url, _endpoint } = this ;
282
+ if ( ! _endpoint ) {
283
283
return ''
284
284
}
285
285
return html `
@@ -297,7 +297,7 @@ export class ApiUrl extends AmfHelperMixin(LitElement) {
297
297
}
298
298
299
299
_getAsyncPathTemplate ( ) {
300
- if ( this . isNotHttp && ! ! this . _method ) {
300
+ if ( this . isNotHttp ) {
301
301
return html `< div class ="async-servers-path url-channel-value "> ${ this . path } </ div > ` ;
302
302
}
303
303
return '' ;
@@ -313,8 +313,7 @@ export class ApiUrl extends AmfHelperMixin(LitElement) {
313
313
}
314
314
315
315
_getAsyncServersNamesTemplate ( asyncServersNames ) {
316
- const { _method } = this ;
317
- if ( asyncServersNames && ! ! _method ) {
316
+ if ( asyncServersNames ) {
318
317
return html `< div class ="async-server-names-container ">
319
318
< span class ="async-server-names-title "> Available on servers:</ span > ${ this . _getAsyncServersNamesList ( asyncServersNames ) } </ div > `
320
319
}
Original file line number Diff line number Diff line change @@ -301,16 +301,17 @@ api-security-documentation:last-of-type {
301
301
}
302
302
303
303
.async-servers .async-server-name {
304
- color : var (--api-method-documentation-async-server-names-color , # 249FC6 );
304
+ color : var (--api-method-documentation-async-server-names-color , # ffffff );
305
+ background-color : var (--api-method-documentation-async-server-names-bg-color , # 506773 );
305
306
text-align : center;
306
307
font-family : var (--api-method-documentation-async-server-names-font , Avenir);
307
308
font-size : 14px ;
308
309
font-style : normal;
309
310
font-weight : 500 ;
310
311
line-height : normal;
311
312
border-radius : 4px ;
312
- border : 1px solid var (--api-method-documentation-async-server-names-border-color , # 249FC6 );;
313
- padding: 0px 8px 0px 8px;
313
+ border : 1px solid var (--api-method-documentation-async-server-names-border-color , # 506773 );;
314
+ padding: 1px 8px 1px 8px;
314
315
margin- right: 10px;
315
316
}
316
317
You can’t perform that action at this time.
0 commit comments