Skip personal access token sessions in view sessions modal (#7350)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
e089a88f18
Коммит
cc289d7061
@@ -141,6 +141,10 @@ export default class ActivityLogModal extends React.Component {
|
|||||||
let devicePlatform = currentSession.props.platform;
|
let devicePlatform = currentSession.props.platform;
|
||||||
let devicePicture = '';
|
let devicePicture = '';
|
||||||
|
|
||||||
|
if (currentSession.props.type === 'UserAccessToken') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (currentSession.props.platform === 'Windows') {
|
if (currentSession.props.platform === 'Windows') {
|
||||||
devicePicture = 'fa fa-windows';
|
devicePicture = 'fa fa-windows';
|
||||||
} else if (this.isMobileSession(currentSession)) {
|
} else if (this.isMobileSession(currentSession)) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user