mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
fix(editor): Project related frontend fixes (no-changelog) (#9482)
This commit is contained in:
@@ -96,6 +96,7 @@ import type { CredentialScope } from '@n8n/permissions';
|
||||
import type { EventBus } from 'n8n-design-system/utils';
|
||||
import { useRolesStore } from '@/stores/roles.store';
|
||||
import type { RoleMap } from '@/types/roles.types';
|
||||
import { ProjectTypes } from '@/features/projects/projects.utils';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CredentialSharing',
|
||||
@@ -178,7 +179,7 @@ export default defineComponent({
|
||||
);
|
||||
},
|
||||
isHomeTeamProject(): boolean {
|
||||
return this.homeProject?.type === 'team';
|
||||
return this.homeProject?.type === ProjectTypes.Team;
|
||||
},
|
||||
numberOfMembersInHomeTeamProject(): number {
|
||||
return this.teamProject?.relations.length ?? 0;
|
||||
|
||||
Reference in New Issue
Block a user