fix(dashboard): pass all arguments to list filtering (fix broken member/group pages)
This commit is contained in:
parent
c3ade8f455
commit
ac91093847
@ -131,7 +131,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$: groupMembers = $members.filter(m => group.members.includes(m.uuid));
|
$: groupMembers = $members.filter(m => group.members.includes(m.uuid));
|
||||||
$: processedList = filterList(groupMembers, listOptions);
|
$: processedList = filterList(groupMembers, $groups, listOptions);
|
||||||
$: currentPage = paginateList(processedList, pageOptions);
|
$: currentPage = paginateList(processedList, pageOptions);
|
||||||
$: pageAmount = getPageAmount(processedList, pageOptions);
|
$: pageAmount = getPageAmount(processedList, pageOptions);
|
||||||
|
|
||||||
|
@ -134,7 +134,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$: memberGroups = $groups.filter(g => g.members.includes(member.uuid));
|
$: memberGroups = $groups.filter(g => g.members.includes(member.uuid));
|
||||||
$: processedList = filterList(memberGroups, listOptions);
|
$: processedList = filterList(memberGroups, $groups,listOptions);
|
||||||
$: currentPage = paginateList(processedList, pageOptions);
|
$: currentPage = paginateList(processedList, pageOptions);
|
||||||
$: pageAmount = getPageAmount(processedList, pageOptions);
|
$: pageAmount = getPageAmount(processedList, pageOptions);
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user