master
parent
aca2ec90f0
commit
a6015692b2
|
|
@ -144,6 +144,13 @@ class Sidebar extends Component
|
||||||
onClick={onLogin}
|
onClick={onLogin}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
|
||||||
|
<div
|
||||||
|
className={classnames('button', 'leave-meeting')}
|
||||||
|
data-tip='Leave meeting'
|
||||||
|
data-type='dark'
|
||||||
|
onClick={() => onLeaveMeeting()}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
@ -157,6 +164,7 @@ Sidebar.propTypes = {
|
||||||
onNeedExtension : PropTypes.func.isRequired,
|
onNeedExtension : PropTypes.func.isRequired,
|
||||||
onLeaveMeeting : PropTypes.func.isRequired,
|
onLeaveMeeting : PropTypes.func.isRequired,
|
||||||
onLogin : PropTypes.func.isRequired,
|
onLogin : PropTypes.func.isRequired,
|
||||||
|
onLogout : PropTypes.func.isRequired,
|
||||||
screenProducer : appPropTypes.Producer
|
screenProducer : appPropTypes.Producer
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -145,7 +145,7 @@ export const userLogin = () =>
|
||||||
export const userLogout = () =>
|
export const userLogout = () =>
|
||||||
{
|
{
|
||||||
return {
|
return {
|
||||||
type: 'USER_LOGOUT'
|
type : 'USER_LOGOUT'
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -447,5 +447,5 @@ export const setPeerPicture = (peerName, picture) =>
|
||||||
|
|
||||||
export const loggedIn = () =>
|
export const loggedIn = () =>
|
||||||
({
|
({
|
||||||
type: 'LOGGED_IN',
|
type : 'LOGGED_IN'
|
||||||
});
|
});
|
||||||
Loading…
Reference in New Issue