Skip to content

Commit

Permalink
Fix Token Profile Name in forms (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
3keyroman committed May 24, 2024
1 parent 4a09bd6 commit 6bc9483
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/_pages/token-profiles/form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default function TokenProfileForm({ usesGlobalModal = false }: TokenProfi
<Field name="name" validate={composeValidators(validateRequired(), validateAlphaNumericWithSpecialChars())}>
{({ input, meta }) => (
<FormGroup>
<Label for="name">RA Profile Name</Label>
<Label for="name">Token Profile Name</Label>

<Input
{...input}
Expand Down
4 changes: 3 additions & 1 deletion src/components/_pages/token-profiles/list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,9 @@ function TokenProfileList() {
<Dialog
isOpen={confirmDelete}
caption={`Delete Token ${checkedRows.length > 1 ? 'Profiles' : 'Profile'}`}
body={`You are about to delete ${checkedRows.length > 1 ? 'a Token Profile' : 'RA profiles'}. Is this what you want to do?`}
body={`You are about to delete ${
checkedRows.length > 1 ? 'a Token Profile' : 'Token Profiles'
}. Is this what you want to do?`}
toggle={() => setConfirmDelete(false)}
buttons={[
{ color: 'danger', onClick: onDeleteConfirmed, body: 'Yes, delete' },
Expand Down

0 comments on commit 6bc9483

Please sign in to comment.