Skip to content

Commit

Permalink
fix: showPublishAction
Browse files Browse the repository at this point in the history
  • Loading branch information
caichi-t committed Mar 19, 2024
1 parent 6079647 commit 14fb4b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export default () => {
);

const showPublishAction = useMemo(
() => (myRole ? !currentProject?.requestRoles?.includes(myRole) : false),
() => (myRole ? !currentProject?.requestRoles?.includes(myRole) : true),
[currentProject?.requestRoles, myRole],
);

Expand Down

0 comments on commit 14fb4b9

Please sign in to comment.