Tasto leave chiude finestra

This commit is contained in:
2020-05-13 10:57:44 +02:00
parent e03ab517e0
commit 8f87b1a3c1
+2 -2
View File
@@ -47,7 +47,7 @@ const styles = (theme) =>
},
divider :
{
marginLeft : theme.spacing(3),
marginLeft : theme.spacing(3)
},
show :
{
@@ -345,7 +345,7 @@ const TopBar = (props) =>
className={classes.actionButton}
variant='contained'
color='secondary'
onClick={() => roomClient.close()}
onClick={() => { roomClient.close(); window.close(); }}
>
<FormattedMessage
id='label.leave'