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 (
|
||||
<>
|
||||
<div className="room-settings__card">
|
||||
<MenuHeader>Options</MenuHeader>
|
||||
<MenuItem
|
||||
disabled={!canInvite}
|
||||
onClick={() => openInviteUser(roomId)}
|
||||
|
|
|
@ -57,6 +57,7 @@ function GeneralSettings({ roomId }) {
|
|||
return (
|
||||
<>
|
||||
<div className="room-settings__card">
|
||||
<MenuHeader>Options</MenuHeader>
|
||||
<MenuItem
|
||||
onClick={() => {
|
||||
if (isPinned) deleteSpaceShortcut(roomId);
|
||||
|
|
Loading…
Reference in a new issue