Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski committed Aug 24, 2021
1 parent e1f0cd6 commit d9030b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const UserActionPropertyActionsComponent = ({
[userCanCrud, editLabel, onEditClick, quoteLabel, onQuoteClick, canUseEditor, actionConfig]
);

if (!userCanCrud && (!canUseEditor || (canUseEditor && !actionConfig))) {
if (!propertyActions.length) {
return null;
}

Expand Down

0 comments on commit d9030b8

Please sign in to comment.