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