refactor(editor): Migrate users.store to composition API (no-changelog) (#9960)

This commit is contained in:
Ricardo Espinoza
2024-07-08 10:21:03 -04:00
committed by GitHub
parent 4ff4534454
commit f40f9b0287
11 changed files with 407 additions and 370 deletions

View File

@@ -69,7 +69,7 @@ const firstLicensedRole = computed(() => projectRoles.value.find((role) => role.
const onAddMember = (userId: string) => {
isDirty.value = true;
const user = usersStore.getUserById(userId);
const user = usersStore.usersById[userId];
if (!user) return;
const { id, firstName, lastName, email } = user;