Skip to content
Snippets Groups Projects
Unverified Commit 8a2bbd4c authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #6317 from antobinary/timeouts

Change icon for clearing annotations in whiteboard
parents f96b48b2 362184db
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,11 @@ class JoinHandler extends Component {
return resp;
};
const setLogoutURL = (url) => Auth.logoutURL = url;
const setLogoutURL = (url) => {
Auth.logoutURL = url;
return true;
};
const setLogoURL = (resp) => {
setCustomLogoUrl(resp.customLogoURL);
return resp;
......@@ -97,10 +101,10 @@ class JoinHandler extends Component {
.then((resp) => {
setLogoutURL(resp.logoutURL);
if (resp.returncode !== 'FAILED') {
logger.info(`User successfully went through main.joinRouteHandler with [${resp}].`);
logger.info(`User successfully went through main.joinRouteHandler with [${JSON.stringify(resp)}].`);
return resolve(resp);
}
const e = new Error('Session not found');
const e = new Error('Session not found');
logger.error(`User faced [${e}] on main.joinRouteHandler. Error was:`, JSON.stringify(resp));
return reject(e);
});
......
......@@ -562,7 +562,7 @@ class WhiteboardToolbar extends Component {
return (
<ToolbarMenuItem
label={intl.formatMessage(intlMessages.toolbarClearAnnotations)}
icon="circle_close"
icon="delete"
onItemClick={this.handleClearAll}
className={cx(styles.toolbarButton, styles.notActive)}
/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment