@salesforcedevs/docs-components 1.3.138-coveo-fix2 → 1.3.138-coveo-fix3

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.138-coveo-fix2",
3
+ "version": "1.3.138-coveo-fix3",
4
4
  "description": "Docs Lightning web components for DSC",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -144,7 +144,7 @@ export default class AmfReference extends LightningElement {
144
144
 
145
145
  @api
146
146
  get coveoAdvancedQueryConfig(): { [key: string]: any } {
147
- const coveoConfig = toJson(this._coveoAdvancedQueryConfig);
147
+ const coveoConfig = this._coveoAdvancedQueryConfig;
148
148
  if (this.versions.length > 1 && this.selectedVersion) {
149
149
  const currentGAVersionRef = this.versions[0];
150
150
  if (this.selectedVersion.id !== currentGAVersionRef.id) {
@@ -159,7 +159,7 @@ export default class AmfReference extends LightningElement {
159
159
  }
160
160
 
161
161
  set coveoAdvancedQueryConfig(config) {
162
- this._coveoAdvancedQueryConfig = config;
162
+ this._coveoAdvancedQueryConfig = toJson(config);
163
163
  }
164
164
 
165
165
  // model