@salesforcedevs/dw-components 1.20.16-ssg-alpha → 1.20.16-ssg-alpha1

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/dw-components",
3
- "version": "1.20.16-ssg-alpha",
3
+ "version": "1.20.16-ssg-alpha1",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -129,7 +129,7 @@ export default class DocsGrid extends LightningElement {
129
129
 
130
130
  set otherDocs(value: any) {
131
131
  // When SSG_ENABLED is true otherDocs is set to empty and need to fetch data
132
- if (!this._isFetchingOtherDocs) {
132
+ if (value?.length === 0 && !this._isFetchingOtherDocs) {
133
133
  this.fetchOtherDocsFromSitemetadata();
134
134
  } else {
135
135
  this.processOtherDocs(value);