Skip to content

Commit

Permalink
Merge pull request #519 from Lemoncode/update/#510-Change-rubber-icon…
Browse files Browse the repository at this point in the history
…-to-delete-a-field-to-trashcan

update/#510 Change rubber icon to delete a field to trashcan
  • Loading branch information
brauliodiez authored Nov 3, 2024
2 parents 063c1b4 + 4d36fa7 commit 5f87af5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CommandIconButton } from './command-icon-button';
import { FieldVm } from '../../edit-table.vm';
import { GUID, GenerateGUID } from '@/core/model';
import { isFirstItemInArray, isLastItemInArray } from './commands.business';
import { AddFolder, UpIcon, DownIcon, RemoveIcon } from '@/common/components';
import { AddFolder, UpIcon, DownIcon, TrashIcon } from '@/common/components';

interface Props {
onDeleteField: (fieldId: GUID) => void;
Expand Down Expand Up @@ -50,7 +50,7 @@ export const Commands: React.FC<Props> = (props: Props) => {
)}
{isDeleteVisible && (
<CommandIconButton
icon={<RemoveIcon />}
icon={<TrashIcon />}
onClick={() => onDeleteField(field.id)}
ariaLabel={REMOVE_ICON + field.name}
/>
Expand Down

0 comments on commit 5f87af5

Please sign in to comment.