Skip to content

Commit

Permalink
fix(flat-components): users panel incorrect on stage permission (#1832)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrious committed Feb 9, 2023
1 parent bbe58ab commit 25241c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const Row = /* @__PURE__ */ observer(function Row({
<td>
<Switch
checked={user.hasLeft || user.isSpeak}
disabled={!user.hasLeft || !(isCreator || (isSelf && user.isSpeak))}
disabled={!(user.hasLeft || isCreator || (isSelf && user.isSpeak))}
onChange={checked => onStaging?.(user.userUUID, checked)}
/>
</td>
Expand Down

0 comments on commit 25241c5

Please sign in to comment.