mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Remove spurious cancel button
That appeared if you clicked on a room from the room directory (it didn't do anything). It's only supposed to be shown when editing room settings.
This commit is contained in:
parent
8ad69eee49
commit
8abd35f581
@ -56,7 +56,7 @@ module.exports = React.createClass({
|
||||
editing: false,
|
||||
inRoom: false,
|
||||
onSaveClick: function() {},
|
||||
onCancelClick: function() {},
|
||||
onCancelClick: null,
|
||||
};
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user