Skip personal access token sessions in view sessions modal (#7350)

Этот коммит содержится в:
Joram Wilander
2017-09-05 13:43:36 -04:00
коммит произвёл Harrison Healey
родитель e089a88f18
Коммит cc289d7061

Просмотреть файл

@@ -141,6 +141,10 @@ export default class ActivityLogModal extends React.Component {
let devicePlatform = currentSession.props.platform;
let devicePicture = '';
if (currentSession.props.type === 'UserAccessToken') {
continue;
}
if (currentSession.props.platform === 'Windows') {
devicePicture = 'fa fa-windows';
} else if (this.isMobileSession(currentSession)) {