@eohjsc/react-native-smart-city 0.4.61 → 0.4.62

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@eohjsc/react-native-smart-city",
3
3
  "title": "React Native Smart Home",
4
- "version": "0.4.61",
4
+ "version": "0.4.62",
5
5
  "description": "TODO",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -513,8 +513,10 @@ const DeviceDetail = ({ route }) => {
513
513
  }
514
514
  });
515
515
  if (item.configuration.config) {
516
- !configIds.includes(item.configuration.config) &&
517
- configIds.push(item.configuration.config);
516
+ const config = item.configuration.config;
517
+ config?.id &&
518
+ !configIds.includes(config.id) &&
519
+ configIds.push(config.id);
518
520
  }
519
521
  });
520
522
  configIdsTemp.current = configIds.filter(Boolean);