@salesforcedevs/dx-components 0.10.1-alpha.140 → 0.10.1-alpha.141
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
|
@@ -40,11 +40,11 @@ export default class SidebarSearch extends LightningElement {
|
|
|
40
40
|
const jsonValue = toJson(value);
|
|
41
41
|
const hasChanged =
|
|
42
42
|
this._coveoAdvancedQueryConfig &&
|
|
43
|
-
Object.entries(jsonValue).
|
|
43
|
+
Object.entries(jsonValue).some(([key, val]: [string, any]) => {
|
|
44
44
|
console.log(key, val);
|
|
45
|
-
return this._coveoAdvancedQueryConfig[key]
|
|
45
|
+
return this._coveoAdvancedQueryConfig[key] !== val;
|
|
46
46
|
});
|
|
47
|
-
console.log({ hasChanged }
|
|
47
|
+
console.log({ hasChanged });
|
|
48
48
|
this._coveoAdvancedQueryConfig = jsonValue;
|
|
49
49
|
|
|
50
50
|
if (hasChanged && this.engine) {
|
|
@@ -116,7 +116,6 @@ export default class SidebarSearch extends LightningElement {
|
|
|
116
116
|
// in prod some of the critical coveo configuration attributes seem to arrive later
|
|
117
117
|
// so I needed to put this coveo startup flow here where we can wait for them to arrive
|
|
118
118
|
if (this.hasCorrectCoveoConfig && !this.engine) {
|
|
119
|
-
console.log("coveo config is good");
|
|
120
119
|
this.initializeUserSession();
|
|
121
120
|
this.initializeCoveo();
|
|
122
121
|
} else if (!this.hasCorrectCoveoConfig) {
|