Skip to content

Commit 6884b53

Browse files
committed
fix: make property private
1 parent b02ba2b commit 6884b53

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ApiConsole.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
293293
baseUri,
294294
selectedServerValue,
295295
selectedServerType,
296-
noDocumentationServerSelector,
296+
_noDocumentationServerSelector,
297297
noServerSelector,
298298
noCustomServer
299299
} = this;
@@ -305,7 +305,7 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
305305
?narrow="${narrow}"
306306
?compatibility="${compatibility}"
307307
?outlined="${outlined}"
308-
?noServerSelector="${noServerSelector || noDocumentationServerSelector}"
308+
?noServerSelector="${noServerSelector || _noDocumentationServerSelector}"
309309
?noCustomServer="${noCustomServer}"
310310
.inlineMethods="${inlineMethods}"
311311
.noTryIt="${_noTryItValue}"
@@ -591,7 +591,7 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
591591
* Optional property to set
592592
* If true, forces the api-documentation to hide the server selector
593593
*/
594-
noDocumentationServerSelector: { type: Boolean },
594+
_noDocumentationServerSelector: { type: Boolean },
595595
/**
596596
* Optional property to set
597597
* If true, the server selector custom option is not rendered

src/ApiConsoleApp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export class ApiConsoleApp extends ApiConsole {
173173
return;
174174
}
175175
this._wideLayout = value;
176-
this.noDocumentationServerSelector = value;
176+
this._noDocumentationServerSelector = value;
177177
this._updateRenderInlineTyit();
178178
}
179179

0 commit comments

Comments
 (0)