mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 10:45:51 +03:00
RoomDirectory: use SimpleRoomHeader instead of RoomHeader
SimpleRoomHeader and RoomHeader are now separate things (https://github.com/matrix-org/matrix-react-sdk/pull/252), so update Vector accordingly.
This commit is contained in:
parent
2462ede539
commit
cf0340c1c7
1 changed files with 4 additions and 2 deletions
|
@ -180,10 +180,12 @@ module.exports = React.createClass({
|
|||
);
|
||||
}
|
||||
|
||||
var RoomHeader = sdk.getComponent('rooms.RoomHeader');
|
||||
var SimpleRoomHeader = sdk.getComponent('rooms.SimpleRoomHeader');
|
||||
return (
|
||||
<div className="mx_RoomDirectory">
|
||||
<RoomHeader simpleHeader="Directory" />
|
||||
<SimpleRoomHeader>
|
||||
Directory
|
||||
</SimpleRoomHeader>
|
||||
<div className="mx_RoomDirectory_list">
|
||||
<input ref="roomAlias" placeholder="Join a room (e.g. #foo:domain.com)" className="mx_RoomDirectory_input" size="64" onKeyUp={ this.onKeyUp }/>
|
||||
<GeminiScrollbar className="mx_RoomDirectory_tableWrapper">
|
||||
|
|
Loading…
Reference in a new issue