reset first when selecting subgroup (#34200)

fixes: #34149

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2024-10-23 20:34:09 +02:00 committed by GitHub
parent d1504e4657
commit cc5b8dfd38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1530 additions and 2 deletions

View file

@ -232,7 +232,10 @@ export const GroupPickerDialog = ({
key={group.id} key={group.id}
group={group} group={group}
isRowDisabled={isRowDisabled} isRowDisabled={isRowDisabled}
onSelect={setGroupId} onSelect={(groupId) => {
setGroupId(groupId);
setFirst(0);
}}
type={type} type={type}
isSearching={isSearching} isSearching={isSearching}
setIsSearching={setIsSearching} setIsSearching={setIsSearching}
@ -247,7 +250,10 @@ export const GroupPickerDialog = ({
key={g.id} key={g.id}
group={g} group={g}
isRowDisabled={isRowDisabled} isRowDisabled={isRowDisabled}
onSelect={setGroupId} onSelect={(groupId) => {
setGroupId(groupId);
setFirst(0);
}}
type={type} type={type}
isSearching={isSearching} isSearching={isSearching}
setIsSearching={setIsSearching} setIsSearching={setIsSearching}

1522
model/infinispan/proto.lock Normal file

File diff suppressed because it is too large Load diff