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,
displayValue: '',
definition: {
label: `Deleted ${objectNameSingular}`,
label: `Deleted ${objectMetadataItem.namePlural}`,
iconName: 'IconTrash',
fieldMetadataId: trashFieldMetadata.id,
type: filterType,

View File

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