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.
Этот коммит содержится в:
коммит произвёл
enahum
родитель
0196137dec
Коммит
6c814c72ec
@@ -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 = (
|
||||
<FormattedMessage
|
||||
id='activity_log_modal.desktop'
|
||||
defaultMessage='Native Desktop App'
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
let moreInfo;
|
||||
|
||||
Ссылка в новой задаче
Block a user