mirror of https://github.com/vector-im/riot-web
Fix UserInfo promote user inverted buttons
parent
e7eac2ec85
commit
73800c9a92
|
@ -984,7 +984,7 @@ const PowerLevelEditor = ({user, room, roomPermissions, onFinished}) => {
|
|||
});
|
||||
|
||||
const [confirmed] = await finished;
|
||||
if (confirmed) return;
|
||||
if (!confirmed) return;
|
||||
}
|
||||
await _applyPowerChange(roomId, target, powerLevel, powerLevelEvent);
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue