@salesforcedevs/docs-components 1.3.139-coveo-fix-test2 → 1.3.139-coveo-fix-test3

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/docs-components",
3
- "version": "1.3.139-coveo-fix-test2",
3
+ "version": "1.3.139-coveo-fix-test3",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -135,13 +135,12 @@ export default class AmfReference extends LightningElement {
135
135
  topicid: this._currentReferenceId
136
136
  };
137
137
  }
138
-
139
- if(this.showVersionBanner) {
140
- this._coveoAdvancedQueryConfig.version = this.getSelectedVersion().id;
141
- }
142
138
  }
143
139
 
144
140
  private get coveoAdvancedQueryConfig(): CoveoAdvancedQueryXMLConfig {
141
+ if(this.showVersionBanner) {
142
+ this._coveoAdvancedQueryConfig.version = this.getSelectedVersion().id;
143
+ }
145
144
  return this._coveoAdvancedQueryConfig;
146
145
  }
147
146