Skip to content

Commit

Permalink
[UXD][AAP-25468] AWX -Updates to Roles section buttons and actions (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tiyiprh authored Jul 17, 2024
1 parent 9ead312 commit 28860f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions frontend/awx/access/roles/hooks/useAwxRoleRowActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export function useAwxRoleRowActions(onComplete: (roles: AwxRbacRole[]) => void)
selection: PageActionSelection.Single,
icon: PencilAltIcon,
isPinned: true,
variant: ButtonVariant.primary,
label: t('Edit role'),
isDisabled: (role) =>
role.managed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function useAwxRoleToolbarActions(onComplete: (roles: AwxRbacRole[]) => v
type: PageActionType.Button,
selection: PageActionSelection.Multiple,
icon: TrashIcon,
label: t('Delete selected roles'),
label: t('Delete roles'),
onClick: deleteRoles,
isDanger: true,
},
Expand Down

0 comments on commit 28860f9

Please sign in to comment.