Fix UserInfo promote user inverted buttons
This commit is contained in:
parent
e7eac2ec85
commit
73800c9a92
1 changed files with 1 additions and 1 deletions
|
@ -984,7 +984,7 @@ const PowerLevelEditor = ({user, room, roomPermissions, onFinished}) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const [confirmed] = await finished;
|
const [confirmed] = await finished;
|
||||||
if (confirmed) return;
|
if (!confirmed) return;
|
||||||
}
|
}
|
||||||
await _applyPowerChange(roomId, target, powerLevel, powerLevelEvent);
|
await _applyPowerChange(roomId, target, powerLevel, powerLevelEvent);
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in a new issue