From 5f65ccf91d49c70fe588619e24d38c3faaf9d24f Mon Sep 17 00:00:00 2001 From: Adelia Ferreira Date: Thu, 8 Feb 2024 15:07:18 +0000 Subject: [PATCH] Accept PR suggestion Signed-off-by: Adelia Ferreira --- src/components/GroupSystems/GroupImmutableSystems.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/GroupSystems/GroupImmutableSystems.js b/src/components/GroupSystems/GroupImmutableSystems.js index b40f9a6a8..d0f9298ea 100644 --- a/src/components/GroupSystems/GroupImmutableSystems.js +++ b/src/components/GroupSystems/GroupImmutableSystems.js @@ -133,7 +133,7 @@ const GroupImmutableSystems = ({ groupName, groupId, ...props }) => { ); const mapDeviceIds = mapDefaultData(defaultData.results); const updateInfo = await getUpdateInfo(groupId); - setDeviceData(updateInfo?.update_devices_uuids); + setDeviceData(updateInfo?.update_devices_uuids || []); setDeviceImageSet(updateInfo?.device_image_set_info); const rowInfo = []; let items = []; @@ -274,9 +274,7 @@ const GroupImmutableSystems = ({ groupName, groupId, ...props }) => { { title: (