@@ -355,8 +364,12 @@ function AdminDevicesList({ title, subTitle, isLinkedDevicesList }) {
device.status !== 'deactivated' && viewDeviceDetails(device)} className="px-2">{device.partnerId} |
device.status !== 'deactivated' && viewDeviceDetails(device)} className="px-2">{device.orgName} |
- device.status !== 'deactivated' && viewDeviceDetails(device)} className="px-2">{device.sbiId ?? '-'} |
- device.status !== 'deactivated' && viewDeviceDetails(device)} className="px-2">{device.sbiVersion ?? '-'} |
+ {!isLinkedDevicesList && (
+ <>
+ device.status !== 'deactivated' && viewDeviceDetails(device)} className="px-2">{device.sbiId ?? '-'} |
+ device.status !== 'deactivated' && viewDeviceDetails(device)} className="px-2">{device.sbiVersion ?? '-'} |
+ >
+ )}
device.status !== 'deactivated' && viewDeviceDetails(device)} className="px-2">{device.deviceId} |
device.status !== 'deactivated' && viewDeviceDetails(device)} className="px-2">{device.deviceType} |
device.status !== 'deactivated' && viewDeviceDetails(device)} className="px-2">{device.deviceSubType} |
diff --git a/pmp-revamp-ui/src/pages/admin/deviceProviderServices/AdminSbiList.js b/pmp-revamp-ui/src/pages/admin/deviceProviderServices/AdminSbiList.js
index 610cc58a..5ba5ee6d 100644
--- a/pmp-revamp-ui/src/pages/admin/deviceProviderServices/AdminSbiList.js
+++ b/pmp-revamp-ui/src/pages/admin/deviceProviderServices/AdminSbiList.js
@@ -260,7 +260,7 @@ function AdminSbiList() {
)}
-
-
{!applyFilter && ftmList.length === 0 ? (
diff --git a/pmp-revamp-ui/src/pages/common/FilterButtons.js b/pmp-revamp-ui/src/pages/common/FilterButtons.js
index 303b86ae..9da21a10 100644
--- a/pmp-revamp-ui/src/pages/common/FilterButtons.js
+++ b/pmp-revamp-ui/src/pages/common/FilterButtons.js
@@ -3,22 +3,26 @@ import { getUserProfile } from '../../services/UserProfileService';
import { isLangRTL, onPressEnterKey } from '../../utils/AppUtils';
import backArrow from '../../svg/back_arrow.svg';
-function FilterButtons({ titleId, listTitle, dataListLength, filter, onResetFilter, setFilter, goBack, backArrowTitle, addBackArrow }) {
+function FilterButtons({ titleId, listTitle, dataListLength, filter, onResetFilter, setFilter, goBack, listSubTitle, addBackArrow }) {
const { t } = useTranslation();
const isLoginLanguageRTL = isLangRTL(getUserProfile().langCode);
return (
- {addBackArrow && (
-
diff --git a/pmp-revamp-ui/src/utils/AppUtils.js b/pmp-revamp-ui/src/utils/AppUtils.js
index 5fbdac09..6542c7a5 100644
--- a/pmp-revamp-ui/src/utils/AppUtils.js
+++ b/pmp-revamp-ui/src/utils/AppUtils.js
@@ -688,7 +688,6 @@ export const fetchDeviceTypeDropdownData = async (setErrorCode, setErrorMsg, t)
return [];
}
} catch (err) {
- setErrorMsg(err.message);
console.log("Error fetching data: ", err);
return [];
}
@@ -714,13 +713,12 @@ export const fetchDeviceSubTypeDropdownData = async (type, setErrorCode, setErro
return responseData.response.filters;
} else {
if (responseData && responseData.errors && responseData.errors.length > 0) {
- setErrorCode(responseData.errors[0].errorCode);
- setErrorMsg(responseData.errors[0].message);
+ handleServiceErrors(responseData, setErrorCode, setErrorMsg);
}
return [];
}
} else {
- setErrorCode(t('addDevices.errorInDeviceSubType'));
+ setErrorMsg(t('addDevices.errorInDeviceSubType'));
return [];
}
} catch (err) {
-
-
{t(backArrowTitle)} + {addBackArrow ? ( +
+
- )}
-
+
+
+ {t(listTitle) + ' (' + dataListLength + ")"} +{listSubTitle} {t(listTitle) + ' (' + dataListLength + ")"} + ) : +{t(listTitle) + ' (' + dataListLength + ")"} + }
{filter &&
diff --git a/pmp-revamp-ui/src/pages/dashboard/Dashboard.js b/pmp-revamp-ui/src/pages/dashboard/Dashboard.js
index f5a935d0..6a231ce0 100644
--- a/pmp-revamp-ui/src/pages/dashboard/Dashboard.js
+++ b/pmp-revamp-ui/src/pages/dashboard/Dashboard.js
@@ -424,10 +424,10 @@ function Dashboard() {
- {t('dashboard.rootOfTrustCertificate')} + {t('dashboard.certificateTrustStore')}- {t('dashboard.rootOfTrustCertificateDesc')} + {t('dashboard.certificateTrustStoreDesc')} |
---|