From 82e153c277503249386bef5ef4a91078dddc05dc Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 18 Apr 2023 11:20:30 +0200 Subject: [PATCH] [WIFI-12441] Added export button to device table Signed-off-by: Charles --- .env | 2 +- src/pages/Devices/ListCard/ExportButton/utils.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 9a750a8..dbd8145 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -VITE_UCENTRALSEC_URL="https://sec-dev01.cicd.lab.wlan.tip.build:16001" +VITE_UCENTRALSEC_URL="https://ucentral.dpaas.arilia.com:16001" diff --git a/src/pages/Devices/ListCard/ExportButton/utils.ts b/src/pages/Devices/ListCard/ExportButton/utils.ts index 3aa58e5..5b31fa9 100644 --- a/src/pages/Devices/ListCard/ExportButton/utils.ts +++ b/src/pages/Devices/ListCard/ExportButton/utils.ts @@ -55,7 +55,8 @@ const getDevicesProvisioningStatus = async (serialNumbers: string[]) => provisioning, }; }), - ); + ) + .catch(() => []); const getDeviceGatewayInfo = (limit: number, offset: number) => axiosGw