mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
chore: remove unused code
This commit is contained in:
1 parent
e6bdd4f48b
commit
01ba06f901
1 file changed
-15
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user