feat: reverted template changes to project type based

This commit is contained in:
=
2025-07-23 14:31:52 +05:30
parent 33256c3462
commit cc9f4fb5b3
11 changed files with 138 additions and 33 deletions
@@ -621,7 +621,10 @@ export const projectServiceFactory = ({
workspaces.map(async (workspace) => {
return {
...workspace,
roles: [...(workspaceMappedToRoles[workspace.id] || []), ...getPredefinedRoles({ projectId: workspace.id })]
roles: [
...(workspaceMappedToRoles[workspace.id] || []),
...getPredefinedRoles({ projectId: workspace.id, projectType: workspace.type as ProjectType })
]
};
})
);