Skip to content

Commit

Permalink
fix(flat-components): users panel incorrect on stage permission (#1835)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrious authored Feb 9, 2023
1 parent 41ebc93 commit b22f7c5
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={!(isCreator || (isSelf && user.isSpeak))}
onChange={checked => onStaging?.(user.userUUID, checked)}
/>
</td>
Expand Down

0 comments on commit b22f7c5

Please sign in to comment.