frontend fully integreated with the backend

This commit is contained in:
Kalana B. Thilakarathna
2026-08-25 23:47:33 +05:30
parent 1bee5f91c6
commit 83d3272784
151 changed files with 10724 additions and 573 deletions
+4
View File
@@ -0,0 +1,4 @@
export function getPaginatedItems<T>(value: T[] | { items?: T[] } | null | undefined): T[] {
if (Array.isArray(value)) return value
return Array.isArray(value?.items) ? value.items : []
}