mirror of https://github.com/vector-im/riot-web
Change leave room button text, OK -> Leave
Signed-off-by: Aaron Raimist <aaron@raim.ist>pull/21833/head
parent
9976c4eba5
commit
41bd6e4366
|
@ -1034,6 +1034,7 @@ export default React.createClass({
|
|||
{ warnings }
|
||||
</span>
|
||||
),
|
||||
button: _t("Leave"),
|
||||
onFinished: (shouldLeave) => {
|
||||
if (shouldLeave) {
|
||||
const d = MatrixClientPeg.get().leave(roomId);
|
||||
|
|
Loading…
Reference in New Issue