[REGRESSION] Logout failing after #2217 (#2222)

This commit is contained in:
Djorkaeff Alexandre 2020-06-29 13:58:06 -03:00 committed by GitHub
parent 8fe0615e68
commit a5aba5fc84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class SettingsView extends React.Component {
const { user } = this.props;
const { roles } = user;
return roles.includes('livechat-agent');
return roles?.includes('livechat-agent');
}
handleLogout = () => {