pagination and empty state fix

This commit is contained in:
Alex Holliday committed 2026-02-05 18:30:43 +00:00
1 parent 4e678a4ce7
commit bd6aa0fa3a
13 files changed
+39 -47

No files matched your search

@@ -185,6 +185,7 @@ export const MaintenanceWindowTable = ({
emptyViewText={t("common.table.empty")}
/>
<Pagination
itemsOnPage={maintenanceWindows.length}
component="div"
count={maintenanceWindowCount}
page={page}
+1 -1
View File
@@ -33,12 +33,12 @@ const MaintenanceWindowPage = () => {
return (
<BasePageWithStates
page={t("pages.maintenanceWindow.fallback.title")}
totalCount={maintenanceWindowCount}
bullets={
t("pages.maintenanceWindow.fallback.checks", { returnObjects: true }) as string[]
}
loading={isLoading}
error={!!error}
items={maintenanceWindows}
actionButtonText={t("pages.maintenanceWindow.fallback.actionButton")}
actionLink="/maintenance/create"
>