@autorender/sdk-core 0.1.4 → 0.1.5
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1874,7 +1874,7 @@ var AutorenderUploaderElement = class extends HTMLElement {
|
|
|
1874
1874
|
this.options.autoUpload = true;
|
|
1875
1875
|
}
|
|
1876
1876
|
if (this.rootElement && sourcesChanged) {
|
|
1877
|
-
const hasItems = this.controller?.getState().items.length > 0;
|
|
1877
|
+
const hasItems = (this.controller?.getState().items.length ?? 0) > 0;
|
|
1878
1878
|
this.renderSourceOptions(hasItems);
|
|
1879
1879
|
}
|
|
1880
1880
|
}
|