Merge branch 'dev' of https://github.com/ajbura/cinny into dev
This commit is contained in:
commit
fe674ef2ea
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ function RoomPermissions({ roomId }) {
|
||||||
|
|
||||||
let powerLevel = 0;
|
let powerLevel = 0;
|
||||||
let permValue = permInfo.parent
|
let permValue = permInfo.parent
|
||||||
? permissions[permInfo.parent][permKey]
|
? permissions[permInfo.parent]?.[permKey]
|
||||||
: permissions[permKey];
|
: permissions[permKey];
|
||||||
|
|
||||||
if (!permValue) permValue = permInfo.default;
|
if (!permValue) permValue = permInfo.default;
|
||||||
|
|
Loading…
Reference in a new issue