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