mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-04 22:40:29 +03:00
clean up boolean expression
This commit is contained in:
parent
cdaeb18798
commit
aaf8fa0cdd
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ export function RoomPublish({ powerLevels }: RoomPublishProps) {
|
||||||
<Switch
|
<Switch
|
||||||
value={visibilityState.data}
|
value={visibilityState.data}
|
||||||
onChange={toggleVisibility}
|
onChange={toggleVisibility}
|
||||||
disabled={!(canEditCanonical && validRule)}
|
disabled={!canEditCanonical || !validRule}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue