mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Skip personal access token sessions in view sessions modal (#7350)
This commit is contained in:
committed by
Harrison Healey
parent
e089a88f18
commit
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)) {
|
||||
|
||||
Reference in New Issue
Block a user