Skip to content

Commit

Permalink
Merge pull request #89 from advanced-rest-client/fix/W-15607557/show-…
Browse files Browse the repository at this point in the history
…path-async

fix async api path
  • Loading branch information
leandrogilcarrano committed May 7, 2024
2 parents b1919a1 + 5519477 commit 6130cfa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@api-components/api-method-documentation",
"description": "A HTTP method documentation build from AMF model",
"version": "5.2.23",
"version": "5.2.24",
"license": "Apache-2.0",
"main": "index.js",
"module": "index.js",
Expand Down
5 changes: 1 addition & 4 deletions src/ApiUrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,7 @@ export class ApiUrl extends AmfHelperMixin(LitElement) {
}

_getAsyncPathTemplate() {
if (this.isNotHttp) {
return html`<div class="async-servers-path url-channel-value">${this.path}</div>`;
}
return '';
return html`<div class="async-servers-path url-channel-value">${this.path || ''}</div>`;
}

_getOperationIdTemplate() {
Expand Down

0 comments on commit 6130cfa

Please sign in to comment.