Tasto leave chiude finestra
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user