mirror of
https://github.com/Telecominfraproject/wlan-cloud-ui.git
synced 2025-10-30 18:27:58 +00:00
cleanup
This commit is contained in:
@@ -165,9 +165,8 @@ const AccessPoints = ({ checkedLocations }) => {
|
||||
isLastPage={
|
||||
equipData && equipData.filterEquipment && equipData.filterEquipment.context.lastPage
|
||||
}
|
||||
onLoading={loading}
|
||||
onError={error}
|
||||
errorDescription="Failed to load equipment."
|
||||
loading={loading}
|
||||
error={error && !equipData?.filterEquipment?.items && 'Failed to load equipment.'}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -90,9 +90,8 @@ const ClientDevices = ({ checkedLocations }) => {
|
||||
tableData={data && data.filterClientSessions && data.filterClientSessions.items}
|
||||
onLoadMore={handleLoadMore}
|
||||
isLastPage={data && data.filterClientSessions && data.filterClientSessions.context.lastPage}
|
||||
onLoading={loading}
|
||||
onError={error}
|
||||
errorDescription="Failed to load client devices."
|
||||
loading={loading}
|
||||
error={error && !data?.filterClientSessions?.items && 'Failed to load client devices.'}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user