From 6c814c72ec8fc5ec5f17c657d2af8fafa67b1e33 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Fri, 13 Jan 2017 13:47:10 +0000 Subject: PLT-4317: Fix Desktop App platform in sessions list. (#5048) Incidentally fixes displaying the Linux icon next to sessions on Linux at the same time. --- webapp/components/activity_log_modal.jsx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'webapp/components') diff --git a/webapp/components/activity_log_modal.jsx b/webapp/components/activity_log_modal.jsx index b907668f0..0789d8efc 100644 --- a/webapp/components/activity_log_modal.jsx +++ b/webapp/components/activity_log_modal.jsx @@ -134,6 +134,17 @@ export default class ActivityLogModal extends React.Component { } else { devicePicture = 'fa fa-linux'; } + } else if (currentSession.props.os.indexOf('Linux') !== -1) { + devicePicture = 'fa fa-linux'; + } + + if (currentSession.props.browser.indexOf('Desktop App') !== -1) { + devicePlatform = ( + + ); } let moreInfo; -- cgit v1.2.3-1-g7c22