fix: hopefully get rid of more rendering crashing
This commit is contained in:
parent
96557097a8
commit
72de7910d2
File diff suppressed because one or more lines are too long
@ -33,7 +33,7 @@
|
||||
}(window.location))
|
||||
</script>
|
||||
<!-- End Single Page Apps for GitHub Pages -->
|
||||
<script type="module" crossorigin src="/assets/main.dae6c93b.js"></script>
|
||||
<script type="module" crossorigin src="/assets/main.70284293.js"></script>
|
||||
<link rel="modulepreload" href="/assets/vendor.68126027.js">
|
||||
<link rel="stylesheet" href="/assets/vendor.17033500.css">
|
||||
<link rel="stylesheet" href="/assets/main.288c9e92.css">
|
||||
|
@ -31,10 +31,10 @@
|
||||
let smallPages = true;
|
||||
|
||||
$: if (groups) {
|
||||
groupsWithMember = groups.filter(group => group.members.includes(member.uuid));
|
||||
groupsWithMember = groups.filter(group => group.members && group.members.includes(member.uuid));
|
||||
groupsWithMember.sort((a, b) => a.name.localeCompare(b.name));
|
||||
|
||||
groupsWithoutMember = groups.filter(group => !group.members.includes(member.uuid));
|
||||
groupsWithoutMember = groups.filter(group => group.members && !group.members.includes(member.uuid));
|
||||
groupsWithoutMember.sort((a, b) => a.name.localeCompare(b.name));
|
||||
|
||||
groupsWithMemberSelection = groupsWithMember.map(function(group) { return {name: group.name, shortid: group.id, id: group.uuid, members: group.members, display_name: group.display_name}; }).sort((a, b) => a.name.localeCompare(b.name));
|
||||
|
Loading…
Reference in New Issue
Block a user