@salesforcedevs/docs-components 1.3.139-coveo-alpha → 1.3.139-coveo-fix-test1
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
|
@@ -122,22 +122,18 @@ export default class AmfReference extends LightningElement {
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
@api
|
|
125
126
|
set coveoAdvancedQueryConfig(config) {
|
|
127
|
+
console.log('Setting AQ value.');
|
|
126
128
|
this._coveoAdvancedQueryConfig = config;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
try {
|
|
130
|
-
if(this.showVersionBanner) {
|
|
131
|
-
this._coveoAdvancedQueryConfig.version = this.getSelectedVersion().id;
|
|
132
|
-
} else {
|
|
133
|
-
this._coveoAdvancedQueryConfig.version = "latest";
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
return this._coveoAdvancedQueryConfig;
|
|
137
|
-
} catch (error) {
|
|
138
|
-
console.log(`Error during version implementation.`)
|
|
129
|
+
if(this.showVersionBanner) {
|
|
130
|
+
this._coveoAdvancedQueryConfig.version = this.getSelectedVersion().id;
|
|
139
131
|
}
|
|
140
132
|
}
|
|
133
|
+
get coveoAdvancedQueryConfig(): CoveoAdvancedQueryXMLConfig {
|
|
134
|
+
console.log('Getting AQ value.');
|
|
135
|
+
return this._coveoAdvancedQueryConfig;
|
|
136
|
+
}
|
|
141
137
|
|
|
142
138
|
@api
|
|
143
139
|
get docPhaseInfo() {
|