Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1440 | renaming button
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Dec 10, 2022
1 parent 4943a46 commit 8fbb8b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/mappings/MappingOptions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const MappingOptions = ({ mapping, concept, onAddNewClick, onRemove, showNewMapp
if(hasAccess && showNewMappingOption)
options.push({label: `Add new ${mapping.map_type} mapping`, onClick: onAddNewMappingClick })
if(hasAccess && showNewMappingOption && !mapping.retired)
options.push({label: `Remove this mapping`, onClick: onRemoveMappingClick, type: 'delete' })
options.push({label: `Retire mapping`, onClick: onRemoveMappingClick, type: 'delete' })

return options
}
Expand Down

0 comments on commit 8fbb8b4

Please sign in to comment.