chore: remove unused code

This commit is contained in:
Arman committed 2022-08-24 13:39:04 +02:00
1 parent e6bdd4f48b
commit 01ba06f901
1 file changed
-15
-15
View File
@@ -38,21 +38,6 @@
member.userName
);
let avatars = [];
let avatarsTotal = 0;
memberList.subscribe((value) => {
if (value?.total > 0) {
avatarsTotal = value.total;
avatars = value.memberships.map((team) => {
return {
name: team.userName,
img: sdkForConsole.avatars.getInitials(team.userName, 120, 120).toString()
};
});
}
});
$: if (search) offset = 0;
$: memberList.load($organization.$id, search, $pageLimit, offset ?? 0);
</script>