File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 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) {
278278 }
279279
280280 renderAsyncApi ( asyncServersNames ) {
281- const { url, _method } = this ;
282- if ( ! _method ) {
281+ const { url, _endpoint } = this ;
282+ if ( ! _endpoint ) {
283283 return ''
284284 }
285285 return html `
@@ -297,7 +297,7 @@ export class ApiUrl extends AmfHelperMixin(LitElement) {
297297 }
298298
299299 _getAsyncPathTemplate ( ) {
300- if ( this . isNotHttp && ! ! this . _method ) {
300+ if ( this . isNotHttp ) {
301301 return html `< div class ="async-servers-path url-channel-value "> ${ this . path } </ div > ` ;
302302 }
303303 return '' ;
@@ -313,8 +313,7 @@ export class ApiUrl extends AmfHelperMixin(LitElement) {
313313 }
314314
315315 _getAsyncServersNamesTemplate ( asyncServersNames ) {
316- const { _method } = this ;
317- if ( asyncServersNames && ! ! _method ) {
316+ if ( asyncServersNames ) {
318317 return html `< div class ="async-server-names-container ">
319318 < span class ="async-server-names-title "> Available on servers:</ span > ${ this . _getAsyncServersNamesList ( asyncServersNames ) } </ div > `
320319 }
Original file line number Diff line number Diff line change @@ -301,16 +301,17 @@ api-security-documentation:last-of-type {
301301}
302302
303303.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 );
305306 text-align : center;
306307 font-family : var (--api-method-documentation-async-server-names-font , Avenir);
307308 font-size : 14px ;
308309 font-style : normal;
309310 font-weight : 500 ;
310311 line-height : normal;
311312 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;
314315 margin- right: 10px;
315316}
316317
You can’t perform that action at this time.
0 commit comments