Change icon of join public room button
Signed-off-by: ajbura <ajbura@gmail.com>
This commit is contained in:
parent
c8ae428df8
commit
d0e9728c26
1 changed files with 21 additions and 23 deletions
|
@ -23,7 +23,7 @@ import SpaceOptions from '../../molecules/space-options/SpaceOptions';
|
|||
|
||||
import PlusIC from '../../../../public/res/ic/outlined/plus.svg';
|
||||
import HashPlusIC from '../../../../public/res/ic/outlined/hash-plus.svg';
|
||||
import HashSearchIC from '../../../../public/res/ic/outlined/hash-search.svg';
|
||||
import HashGlobeIC from '../../../../public/res/ic/outlined/hash-globe.svg';
|
||||
import ChevronBottomIC from '../../../../public/res/ic/outlined/chevron-bottom.svg';
|
||||
import PinIC from '../../../../public/res/ic/outlined/pin.svg';
|
||||
import PinFilledIC from '../../../../public/res/ic/filled/pin.svg';
|
||||
|
@ -79,7 +79,6 @@ function DrawerHeader({ selectedTab, spaceId }) {
|
|||
)}
|
||||
{ selectedTab === cons.tabs.DIRECTS && <IconButton onClick={() => openInviteUser()} tooltip="Start DM" src={PlusIC} size="normal" /> }
|
||||
{ selectedTab !== cons.tabs.DIRECTS && !spaceName && (
|
||||
<>
|
||||
<ContextMenu
|
||||
content={(hideMenu) => (
|
||||
<>
|
||||
|
@ -91,16 +90,15 @@ function DrawerHeader({ selectedTab, spaceId }) {
|
|||
Create new room
|
||||
</MenuItem>
|
||||
<MenuItem
|
||||
iconSrc={HashSearchIC}
|
||||
iconSrc={HashGlobeIC}
|
||||
onClick={() => { hideMenu(); openPublicRooms(); }}
|
||||
>
|
||||
Add public room
|
||||
Join public room
|
||||
</MenuItem>
|
||||
</>
|
||||
)}
|
||||
render={(toggleMenu) => (<IconButton onClick={toggleMenu} tooltip="Add room" src={PlusIC} size="normal" />)}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</Header>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue