Add menu header in general settings
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
63fb4d57e2
commit
5f7fa0557f
2 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,7 @@ function GeneralSettings({ roomId }) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="room-settings__card">
|
<div className="room-settings__card">
|
||||||
|
<MenuHeader>Options</MenuHeader>
|
||||||
<MenuItem
|
<MenuItem
|
||||||
disabled={!canInvite}
|
disabled={!canInvite}
|
||||||
onClick={() => openInviteUser(roomId)}
|
onClick={() => openInviteUser(roomId)}
|
||||||
|
|
|
@ -57,6 +57,7 @@ function GeneralSettings({ roomId }) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="room-settings__card">
|
<div className="room-settings__card">
|
||||||
|
<MenuHeader>Options</MenuHeader>
|
||||||
<MenuItem
|
<MenuItem
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (isPinned) deleteSpaceShortcut(roomId);
|
if (isPinned) deleteSpaceShortcut(roomId);
|
||||||
|
|
Loading…
Reference in a new issue