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.
1 parent f4cc8af commit 608e895Copy full SHA for 608e895
src/components/apis/details-of-api/ko/runtime/api-details.ts
@@ -44,15 +44,15 @@ export class ApiDetails {
44
@OnMounted()
45
public async initialize(): Promise<void> {
46
const apiName = this.routeHelper.getApiName();
47
-
+ this.router.addRouteChangeListener(this.onRouteChange);
48
+
49
if (!apiName) {
50
return;
51
}
52
53
this.selectedApiName(apiName);
54
await this.loadApi(apiName);
55
- this.router.addRouteChangeListener(this.onRouteChange);
56
this.currentApiVersion.subscribe(this.onVersionChange);
57
this.downloadSelected.subscribe(this.onDownloadChange);
58
0 commit comments