chore: updated types
This commit is contained in:
@@ -146,8 +146,8 @@ const {
|
||||
const newTeamsList = computed(() => {
|
||||
return teamsList.value.map((team) => {
|
||||
return {
|
||||
id: team.id || '',
|
||||
name: team.name || '',
|
||||
id: team.id,
|
||||
name: team.name,
|
||||
members: team.members.length,
|
||||
};
|
||||
});
|
||||
|
||||
@@ -62,10 +62,10 @@ const invitedUsers = computed(() => data?.value?.admin.invitedUsers);
|
||||
const newInvitedUsersList = computed(() => {
|
||||
return invitedUsers.value?.map((user) => {
|
||||
return {
|
||||
adminUid: user.adminUid || '',
|
||||
adminEmail: user.adminEmail || '',
|
||||
inviteeEmail: user.inviteeEmail || '',
|
||||
invitedOn: getCreatedDate(user.invitedOn) || '',
|
||||
adminUid: user.adminUid,
|
||||
adminEmail: user.adminEmail,
|
||||
inviteeEmail: user.inviteeEmail,
|
||||
invitedOn: getCreatedDate(user.invitedOn),
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user