diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-09-05 13:43:36 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-09-05 13:43:36 -0400 |
commit | cc289d70610ada2797c7a07dce013fd4d89bcc10 (patch) | |
tree | f8f89928dd0ad04d8614e334a62236863b8ec849 /webapp/components/activity_log_modal | |
parent | e089a88f18d400a3dd984b1af5559c09623dfc05 (diff) | |
download | chat-cc289d70610ada2797c7a07dce013fd4d89bcc10.tar.gz chat-cc289d70610ada2797c7a07dce013fd4d89bcc10.tar.bz2 chat-cc289d70610ada2797c7a07dce013fd4d89bcc10.zip |
Skip personal access token sessions in view sessions modal (#7350)
Diffstat (limited to 'webapp/components/activity_log_modal')
-rw-r--r-- | webapp/components/activity_log_modal/activity_log_modal.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webapp/components/activity_log_modal/activity_log_modal.jsx b/webapp/components/activity_log_modal/activity_log_modal.jsx index 715b1fbb4..854a2f0cf 100644 --- a/webapp/components/activity_log_modal/activity_log_modal.jsx +++ b/webapp/components/activity_log_modal/activity_log_modal.jsx @@ -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)) { |