Implement the Roles & Permissions tab of new room settings
This is largely copy/paste from the current room settings
This commit is contained in:
parent
0cce912cf6
commit
0af419633f
5 changed files with 382 additions and 28 deletions
|
@ -20,6 +20,7 @@ import {Tab, TabbedView} from "../../structures/TabbedView";
|
|||
import {_t, _td} from "../../../languageHandler";
|
||||
import AccessibleButton from "../elements/AccessibleButton";
|
||||
import dis from '../../../dispatcher';
|
||||
import RolesRoomSettingsTab from "../settings/tabs/RolesRoomSettingsTab";
|
||||
import GeneralRoomSettingsTab from "../settings/tabs/GeneralRoomSettingsTab";
|
||||
|
||||
// TODO: Ditch this whole component
|
||||
|
@ -73,7 +74,7 @@ export default class RoomSettingsDialog extends React.Component {
|
|||
tabs.push(new Tab(
|
||||
_td("Roles & Permissions"),
|
||||
"mx_RoomSettingsDialog_rolesIcon",
|
||||
<div>Roles Test</div>,
|
||||
<RolesRoomSettingsTab roomId={this.props.roomId} />,
|
||||
));
|
||||
tabs.push(new Tab(
|
||||
_td("Advanced"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue