mirror of
https://github.com/Telecominfraproject/wlan-cloud-ui.git
synced 2025-10-30 18:27:58 +00:00
Merge pull request #60 from Telecominfraproject/hotfix/WIFI-758
WIFI-758: Fixed data path for updateEquipmentFirmware
This commit is contained in:
@@ -229,7 +229,7 @@ const AccessPointDetails = ({ locations }) => {
|
||||
const handleUpdateEquipmentFirmware = (equipmentId, firmwareVersionId) =>
|
||||
updateEquipmentFirmware({ variables: { equipmentId, firmwareVersionId } })
|
||||
.then(firmwareResp => {
|
||||
if (firmwareResp && firmwareResp.updateEquipmentFirmware.success === false) {
|
||||
if (firmwareResp && firmwareResp.data.updateEquipmentFirmware.success === false) {
|
||||
notification.error({
|
||||
message: 'Error',
|
||||
description: 'Equipment Firmware Upgrade could not be updated.',
|
||||
|
||||
Reference in New Issue
Block a user