@salesforcedevs/docs-components 1.3.138-coveoversion-alpha → 1.3.138-coveoversion-alpha2
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,6 +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 selectedVersionChanges = false;
|
|
44
45
|
|
|
45
46
|
// Update this to update what component gets rendered in the content block
|
|
46
47
|
@track
|
|
@@ -110,6 +111,7 @@ export default class AmfReference extends LightningElement {
|
|
|
110
111
|
) {
|
|
111
112
|
this.showVersionBanner = true;
|
|
112
113
|
}
|
|
114
|
+
this.selectedVersionChanges = true;
|
|
113
115
|
}
|
|
114
116
|
|
|
115
117
|
// This is to check if the url is hash based and redirect if needed
|
|
@@ -1277,6 +1279,7 @@ export default class AmfReference extends LightningElement {
|
|
|
1277
1279
|
if (this.oldVersionInfo) {
|
|
1278
1280
|
this.showVersionBanner = true;
|
|
1279
1281
|
}
|
|
1282
|
+
this.selectedVersionChanges = true;
|
|
1280
1283
|
this.updateDocPhase();
|
|
1281
1284
|
this.selectedSidebarValue = window.location.pathname;
|
|
1282
1285
|
}
|