@smartbit4all/ng-client 3.3.203 → 3.3.204
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/esm2020/lib/smart-client/smart-file-uploader/smart-file-uploader.component.mjs +4 -1
- package/fesm2015/smartbit4all-ng-client.mjs +11 -8
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +3 -0
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.204.tgz +0 -0
- package/smartbit4all-ng-client-3.3.203.tgz +0 -0
|
@@ -9101,6 +9101,9 @@ class SmartFileUploaderComponent {
|
|
|
9101
9101
|
}
|
|
9102
9102
|
}
|
|
9103
9103
|
async setUp() {
|
|
9104
|
+
if (!this.config?.smartComponent?.uiActionModels?.length) {
|
|
9105
|
+
return;
|
|
9106
|
+
}
|
|
9104
9107
|
this.uiActionModel = this.config?.smartComponent.uiActionModels.find((uiActionModel) => uiActionModel.uiAction.code === this.config?.uiActionCode);
|
|
9105
9108
|
if (!this.uiActionModel) {
|
|
9106
9109
|
throw new Error(`UiAction with code ${this.config?.uiActionCode} could not found`);
|