Skip to content

Commit

Permalink
Merge pull request #223 from performant-software/feature/basira219_ac…
Browse files Browse the repository at this point in the history
…tions_error

BASIRA #219 - Document actions error
  • Loading branch information
dleadbetter committed Aug 10, 2023
2 parents ce181f4 + f53d660 commit d22b070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/DocumentActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const DocumentActions = (props: Props) => {
const verb = _.findWhere(action.qualifications, { value_list_object: 'Document', value_list_group: 'Action' });
const entity = _.findWhere(action.qualifications, { value_list_object: 'Action', value_list_group: 'Entity' });

return t('Document.labels.action', { verb: verb.value_list.human_name, entity: entity.value_list.human_name });
return t('Document.labels.action', { verb: verb?.value_list?.human_name, entity: entity?.value_list?.human_name });
}, []);

if (!props.items) {
Expand Down

0 comments on commit d22b070

Please sign in to comment.