From 581eac746632e25cd413aa1b68a18557b312f1ab Mon Sep 17 00:00:00 2001 From: estifanos Date: Tue, 18 Aug 2026 10:57:37 +0000 Subject: [PATCH] UI changes --- .../app/features/endorsement/pages/EndorsementPage.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/portal/src/app/features/endorsement/pages/EndorsementPage.tsx b/apps/portal/src/app/features/endorsement/pages/EndorsementPage.tsx index 40c4e109f..dda909899 100644 --- a/apps/portal/src/app/features/endorsement/pages/EndorsementPage.tsx +++ b/apps/portal/src/app/features/endorsement/pages/EndorsementPage.tsx @@ -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.')} />