Merge pull request #448 from vector-im/dbkr/country_roads
Remove the 'Take Me Home' link in embed mode
This commit is contained in:
commit
c6030d33ca
2 changed files with 9 additions and 5 deletions
|
@ -144,6 +144,7 @@ export function GroupCallView({
|
|||
toggleLocalVideoMuted={toggleLocalVideoMuted}
|
||||
toggleMicrophoneMuted={toggleMicrophoneMuted}
|
||||
roomId={roomId}
|
||||
isEmbedded={isEmbedded}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -42,6 +42,7 @@ export function LobbyView({
|
|||
toggleLocalVideoMuted,
|
||||
toggleMicrophoneMuted,
|
||||
roomId,
|
||||
isEmbedded,
|
||||
}) {
|
||||
const { stream } = useCallFeed(localCallFeed);
|
||||
const {
|
||||
|
@ -122,11 +123,13 @@ export function LobbyView({
|
|||
Copy call link and join later
|
||||
</CopyButton>
|
||||
</div>
|
||||
{!isEmbedded && (
|
||||
<Body className={styles.joinRoomFooter}>
|
||||
<Link color="primary" to="/">
|
||||
Take me Home
|
||||
</Link>
|
||||
</Body>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue