impaktapps-ui-builder 1.0.84 → 1.0.85
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.
|
@@ -11947,13 +11947,13 @@ const buildFileInput = (config2, componentScope2) => {
|
|
|
11947
11947
|
box.config.main.variant = config2.variant;
|
|
11948
11948
|
}
|
|
11949
11949
|
if (config2.disableUpload) {
|
|
11950
|
-
box.config.main.disableUpload = config2.disableUpload;
|
|
11950
|
+
box.config.main.disableUpload = config2.disableUpload === "YES" ? true : false;
|
|
11951
11951
|
}
|
|
11952
11952
|
if (config2.disableDownload) {
|
|
11953
|
-
box.config.main.disableDownload = config2.disableDownload;
|
|
11953
|
+
box.config.main.disableDownload = config2.disableDownload === "YES" ? true : false;
|
|
11954
11954
|
}
|
|
11955
11955
|
if (config2.disableDelete) {
|
|
11956
|
-
box.config.main.disableDelete = config2.disableDelete;
|
|
11956
|
+
box.config.main.disableDelete = config2.disableDelete === "YES" ? true : false;
|
|
11957
11957
|
}
|
|
11958
11958
|
return box;
|
|
11959
11959
|
};
|