diff --git a/webui/src/features/records/RecordsPage.tsx b/webui/src/features/records/RecordsPage.tsx index 1fe65d5..0971639 100644 --- a/webui/src/features/records/RecordsPage.tsx +++ b/webui/src/features/records/RecordsPage.tsx @@ -3,7 +3,6 @@ import { FilePlus2, Pencil, Plus, - RefreshCw, Search, Settings2 } from "lucide-react"; @@ -15,7 +14,7 @@ import { type FormEvent } from "react"; import { useSearchParams } from "react-router"; -import { DialogForm, ActionToolbar, +import { DialogForm, Button, DataGrid, Dialog, @@ -29,6 +28,7 @@ import { DialogForm, ActionToolbar, StatePanel, StatusBadge, useTemporalDataContext, + WorkspaceActionBar, WorkspaceFrame, type DataGridColumn, type PlatformRouteContext @@ -236,8 +236,13 @@ export default function RecordsPage({ settings, auth }: PlatformRouteContext) { return (
- - - - {canAdmin && ( + } + contextActions={<> + {canAdmin && ( - )} - + )} + - + + {i18nMessage("i18n:govoplan-records.record_count", { value0: total })} - - {!temporalIsDefault && ( + + {!temporalIsDefault && ( - )} - - + )} + } + helpAction={} + /> {error && {error}} {filingPreset &&