Skip to content

Commit

Permalink
canDemote -> canManageRank
Browse files Browse the repository at this point in the history
  • Loading branch information
NotNite committed Nov 28, 2023
1 parent b6699a1 commit 108a265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/crews/Crew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ function MembersActions({
return <td></td>;
}

const canDemote = crew.super_owner == me?.id;
const canManageRank = crew.super_owner == me?.id;

return (
<td className="buttonGallery">
{canDemote &&
{canManageRank &&
(member.owner ? (
<button
onClick={async () => {
Expand Down

0 comments on commit 108a265

Please sign in to comment.