We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0ff9b2f + 287f686 commit 0ea213eCopy full SHA for 0ea213e
src/rapidoc.js
@@ -780,7 +780,7 @@ export default class RapiDoc extends LitElement {
780
781
afterSpecParsedAndValidated(spec) {
782
this.resolvedSpec = spec;
783
- if (this.allowServerSelection === 'false') {
+ if (!this.selectedServer) {
784
if (this.serverUrl) {
785
this.selectedServer = this.serverUrl;
786
} else if (this.resolvedSpec && this.resolvedSpec.servers && this.resolvedSpec.servers.length > 0) {
@@ -791,9 +791,6 @@ export default class RapiDoc extends LitElement {
791
this.apiListStyle = 'group-by-tag';
792
}
793
this.requestUpdate();
794
- window.setTimeout(() => {
795
- this.onApiServerChange();
796
- }, 0);
797
798
799
onIntersect(entries) {
0 commit comments