fix: Short search filter on Group settings (#11945)

This commit is contained in:
Tom Moor authored and GitHub committed 2026-04-03 18:49:48 -04:00
1 parent c4930f315c
commit d2f94f54ed
1 file changed
+10 -13
+10 -13
View File
@@ -26,7 +26,6 @@ import { CreateGroupDialog } from "./components/GroupDialogs";
import GroupSourceFilter from "./components/GroupSourceFilter";
import { GroupsTable } from "./components/GroupsTable";
import { StickyFilters } from "./components/StickyFilters";
import { HStack } from "~/components/primitives/HStack";
function getFilteredGroups(groups: Group[], query?: string, source?: string) {
let filtered = groups;
@@ -171,18 +170,16 @@ function Groups() {
) : (
<>
<StickyFilters>
<HStack>
<InputSearch
short
value={query}
placeholder={`${t("Filter")}…`}
onChange={handleSearch}
/>
<LargeGroupSourceFilter
activeKey={reqParams.source ?? ""}
onSelect={handleSourceFilter}
/>
</HStack>
<InputSearch
short
value={query}
placeholder={`${t("Filter")}…`}
onChange={handleSearch}
/>
<LargeGroupSourceFilter
activeKey={reqParams.source ?? ""}
onSelect={handleSourceFilter}
/>
</StickyFilters>
<ConditionalFade animate={!data}>
<GroupsTable