Update wording on soft deletes

This commit is contained in:
Charles Bochet
2024-08-29 18:26:27 +02:00
parent 8982a5833c
commit 407030576b
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ export const useHandleToggleTrashColumnFilter = ({
operand: ViewFilterOperand.IsNotEmpty, operand: ViewFilterOperand.IsNotEmpty,
displayValue: '', displayValue: '',
definition: { definition: {
label: `Deleted ${objectNameSingular}`, label: `Deleted ${objectMetadataItem.namePlural}`,
iconName: 'IconTrash', iconName: 'IconTrash',
fieldMetadataId: trashFieldMetadata.id, fieldMetadataId: trashFieldMetadata.id,
type: filterType, type: filterType,

View File

@ -166,7 +166,7 @@ export const RecordIndexOptionsDropdownContent = ({
closeDropdown(); closeDropdown();
}} }}
LeftIcon={IconTrash} LeftIcon={IconTrash}
text={`Deleted ${objectNameSingular}`} text={`Deleted ${objectNamePlural}`}
/> />
</DropdownMenuItemsContainer> </DropdownMenuItemsContainer>
)} )}