mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
refactor(editor): Migrate users.store to composition API (no-changelog) (#9960)
This commit is contained in:
@@ -119,7 +119,7 @@ export default defineComponent({
|
||||
...mapStores(useUsersStore, useProjectsStore),
|
||||
userToDelete(): IUser | null {
|
||||
if (!this.activeId) return null;
|
||||
return this.usersStore.getUserById(this.activeId);
|
||||
return this.usersStore.usersById[this.activeId];
|
||||
},
|
||||
isPending(): boolean {
|
||||
return this.userToDelete ? this.userToDelete && !this.userToDelete.firstName : false;
|
||||
|
||||
Reference in New Issue
Block a user