@salesforcedevs/docs-components 1.3.138-coveoversion-alpha2 → 1.3.138-coveoversion-alpha3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -41,7 +41,7 @@ export default class AmfReference extends LightningElement {
|
|
|
41
41
|
@track navigation = [];
|
|
42
42
|
@track versions: Array<ReferenceVersion> = [];
|
|
43
43
|
@track showVersionBanner = false;
|
|
44
|
-
@track
|
|
44
|
+
@track loaded = false;
|
|
45
45
|
|
|
46
46
|
// Update this to update what component gets rendered in the content block
|
|
47
47
|
@track
|
|
@@ -105,13 +105,14 @@ export default class AmfReference extends LightningElement {
|
|
|
105
105
|
this.versions = this.getVersions();
|
|
106
106
|
}
|
|
107
107
|
this.selectedVersion = selectedVersion;
|
|
108
|
-
if (
|
|
109
|
-
this.
|
|
110
|
-
this.oldVersionInfo
|
|
111
|
-
|
|
112
|
-
|
|
108
|
+
if (this.isSpecBasedReference(this._currentReferenceId)) {
|
|
109
|
+
this.loaded = true;
|
|
110
|
+
if (this.oldVersionInfo) {
|
|
111
|
+
this.showVersionBanner = true;
|
|
112
|
+
}
|
|
113
113
|
}
|
|
114
|
-
|
|
114
|
+
} else {
|
|
115
|
+
this.loaded = true;
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
// This is to check if the url is hash based and redirect if needed
|
|
@@ -1279,7 +1280,7 @@ export default class AmfReference extends LightningElement {
|
|
|
1279
1280
|
if (this.oldVersionInfo) {
|
|
1280
1281
|
this.showVersionBanner = true;
|
|
1281
1282
|
}
|
|
1282
|
-
this.
|
|
1283
|
+
this.loaded = true;
|
|
1283
1284
|
this.updateDocPhase();
|
|
1284
1285
|
this.selectedSidebarValue = window.location.pathname;
|
|
1285
1286
|
}
|