Tolgo cookie consent
parent
8f87b1a3c1
commit
59ba0499cd
|
|
@ -240,7 +240,7 @@ const ChooseRoom = ({
|
|||
</Button>
|
||||
</DialogActions>
|
||||
|
||||
{ !isElectron() &&
|
||||
{ !isElectron() && false &&
|
||||
<CookieConsent buttonText={intl.formatMessage({
|
||||
id : 'room.consentUnderstand',
|
||||
defaultMessage : 'I understand'
|
||||
|
|
|
|||
|
|
@ -177,29 +177,11 @@ const JoinDialog = ({
|
|||
{
|
||||
const intl = useIntl();
|
||||
|
||||
const handleKeyDown = (event) =>
|
||||
{
|
||||
const { key } = event;
|
||||
|
||||
switch (key)
|
||||
{
|
||||
case 'Enter':
|
||||
case 'Escape':
|
||||
{
|
||||
if (displayName === '')
|
||||
changeDisplayName('Guest');
|
||||
if (room.inLobby)
|
||||
roomClient.changeDisplayName(displayName);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
};
|
||||
roomClient.join({ roomId, joinVideo: true });
|
||||
return ( <div></div>);
|
||||
|
||||
return (<div />);
|
||||
|
||||
/*return (
|
||||
/* return (
|
||||
<div className={classes.root}>
|
||||
<Dialog
|
||||
open
|
||||
|
|
@ -337,7 +319,7 @@ const JoinDialog = ({
|
|||
</DialogContent>
|
||||
}
|
||||
|
||||
{ !isElectron() &&
|
||||
{ !isElectron() && false &&
|
||||
<CookieConsent buttonText={intl.formatMessage({
|
||||
id : 'room.consentUnderstand',
|
||||
defaultMessage : 'I understand'
|
||||
|
|
|
|||
|
|
@ -153,17 +153,17 @@ class Room extends React.PureComponent
|
|||
|
||||
return (
|
||||
<div className={classes.root}>
|
||||
{ !isElectron() &&
|
||||
{ !isElectron() && false &&
|
||||
<CookieConsent
|
||||
buttonText={
|
||||
<FormattedMessage
|
||||
id = 'room.consentUnderstand'
|
||||
defaultMessage = 'I understand'
|
||||
id='room.consentUnderstand'
|
||||
defaultMessage='I understand'
|
||||
/>
|
||||
}
|
||||
>
|
||||
<FormattedMessage
|
||||
id = 'room.cookieConsent'
|
||||
id='room.cookieConsent'
|
||||
defaultMessage='This website uses cookies to enhance the user experience'
|
||||
/>
|
||||
</CookieConsent>
|
||||
|
|
|
|||
Loading…
Reference in New Issue