Merge pull request #8582 from nextcloud/icon-for-desktop-client

Show icon in security settings for desktop clients
This commit is contained in:
Morris Jobke 2018-03-01 07:19:11 +01:00 committed by GitHub
commit 560c0ef783
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,6 +170,7 @@
os: matches[1],
version: matches[2]
});
viewData.icon = 'icon-desktop';
}
for (var client in userAgentMap) {
if (matches = viewData.title.match(userAgentMap[client])) {