@lambo-design/shared 1.0.0-beta.235 → 1.0.0-beta.236
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 +1 -1
- package/utils/platform.js +2 -2
package/package.json
CHANGED
package/utils/platform.js
CHANGED
|
@@ -1321,8 +1321,8 @@ export const buildHomeConfigs = (settings) => {
|
|
|
1321
1321
|
return result;
|
|
1322
1322
|
}
|
|
1323
1323
|
|
|
1324
|
-
export const getAllElements = (
|
|
1325
|
-
for (
|
|
1324
|
+
export const getAllElements = ( plist = [], result = []) => {
|
|
1325
|
+
for (let obj of plist) {
|
|
1326
1326
|
if (obj.permissionId) {
|
|
1327
1327
|
result.push(obj.permissionId);
|
|
1328
1328
|
}
|