Skip to content

Commit 99f9610

Browse files
committed
chore: updating event handler
Signed-off-by: Pawel Psztyc <jarrodek@gmail.com>
1 parent bb46f55 commit 99f9610

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/ApiEndpointDocumentationElement.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/* eslint-disable no-param-reassign */
55
/* eslint-disable class-methods-use-this */
66
import { html, LitElement } from 'lit-element';
7-
import { AmfHelperMixin } from '@api-components/amf-helper-mixin/amf-helper-mixin.js';
7+
import { AmfHelperMixin } from '@api-components/amf-helper-mixin';
88
import markdownStyles from '@advanced-rest-client/markdown-styles/markdown-styles.js';
99
import httpMethodStyles from '@api-components/http-method-label/http-method-label-common-styles.js';
1010
import '@advanced-rest-client/arc-icons/arc-icon.js';
@@ -956,16 +956,15 @@ export class ApiEndpointDocumentationElement extends AmfHelperMixin(LitElement)
956956
if (this.inlineMethods) {
957957
return '';
958958
}
959-
const { endpointName } = this;
960959
return html`
961-
<section class="url-area" ?extra-margin="${!endpointName}">
960+
<section class="url-area">
962961
<api-url
963962
.amf="${this.amf}"
964963
.server="${this.server}"
965964
.endpoint="${this.endpoint}"
966965
.apiVersion="${this.apiVersion}"
967966
.baseUri="${this.baseUri}"
968-
@onchange="${this._handleUrlChange}"
967+
@change="${this._handleUrlChange}"
969968
></api-url>
970969
</section>`;
971970
}

0 commit comments

Comments
 (0)