mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
UI changes
This commit is contained in:
@@ -66,7 +66,11 @@ export function EndorsementPage() {
|
||||
const { profile, isLoading: loadingProfile } = useCurrentProfile();
|
||||
const { data: applications, isLoading: loadingApplications } =
|
||||
useGetMyApplicationsQuery();
|
||||
const { data: licenses } = useGetMyLicensesQuery();
|
||||
const {
|
||||
data: licenses,
|
||||
isFetching: fetchingLicenses,
|
||||
refetch: refetchLicenses,
|
||||
} = useGetMyLicensesQuery();
|
||||
const showDate = useDateDisplayer();
|
||||
const localized = useLocalized();
|
||||
const [getCertificateUrl] = useGetCertificateUrlMutation();
|
||||
@@ -209,6 +213,8 @@ export function EndorsementPage() {
|
||||
pageIndex={issuedPage.pageIndex}
|
||||
onPageChange={issuedTable.setPageIndex}
|
||||
pageSize={issuedTable.pageSize}
|
||||
refresh={refetchLicenses}
|
||||
isLoading={fetchingLicenses}
|
||||
emptyText={t('endorsement.emptyIssued', 'No endorsements issued yet.')}
|
||||
/>
|
||||
</Stack>
|
||||
|
||||
Reference in New Issue
Block a user