Add object level form to role creation (#12826)
## Context - Add object-level form to role creation - Add isSaving props for save button isLoading state <img width="594" alt="Screenshot 2025-06-24 at 15 03 59" src="https://github.com/user-attachments/assets/77d9d399-4e1a-4e35-be45-c19100ef06c1" /> --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -67,6 +67,7 @@ export class RoleService {
|
||||
await this.validateRoleInputOrThrow({ input, workspaceId });
|
||||
|
||||
const role = await this.roleRepository.save({
|
||||
id: input.id,
|
||||
label: input.label,
|
||||
description: input.description,
|
||||
icon: input.icon,
|
||||
|
||||
Reference in New Issue
Block a user