♻️ fix search params on other tables too

This commit is contained in:
Fred KISSIE
2026-05-27 00:44:18 +02:00
parent df098f55ba
commit 94949aa3fd
4 changed files with 6 additions and 32 deletions

View File

@@ -638,7 +638,7 @@ export default function ClientResourcesTable({
rows={internalResources}
tableId="internal-resources"
searchPlaceholder={t("resourcesSearch")}
searchQuery={searchParams.get("query") ?? ""}
searchQuery={searchParams.get("query")?.toString()}
onAdd={() => setIsCreateDialogOpen(true)}
addButtonText={t("resourceAdd")}
onSearch={handleSearchChange}