feat: add sortable overview widgets

This commit is contained in:
Carl-Gerhard Lindesvärd
2026-01-22 20:53:05 +01:00
parent ec5937e55c
commit b39d076b32
9 changed files with 208 additions and 32 deletions

View File

@@ -65,7 +65,7 @@ export default function OverviewTopPages({ projectId }: OverviewTopPagesProps) {
);
const filteredData = useMemo(() => {
const data = query.data?.slice(0, 15) ?? [];
const data = query.data ?? [];
if (!searchQuery.trim()) {
return data;
}