mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 16:07:33 +08:00
show device icon and name in session list
This commit is contained in:
@@ -65,10 +65,28 @@ const allAccountIcons = {
|
||||
f7Icon: 'bitcoin'
|
||||
}
|
||||
};
|
||||
const deviceIcons = {
|
||||
mobile: {
|
||||
f7Icon: 'device_phone_portrait'
|
||||
},
|
||||
tablet: {
|
||||
f7Icon: 'device_tablet_portrait'
|
||||
},
|
||||
wearable: {
|
||||
f7Icon: 'device_phone_portrait'
|
||||
},
|
||||
desktop: {
|
||||
f7Icon: 'device_desktop'
|
||||
},
|
||||
tv: {
|
||||
f7Icon: 'tv'
|
||||
}
|
||||
};
|
||||
|
||||
export default {
|
||||
allAccountIcons: allAccountIcons,
|
||||
defaultAccountIconId: defaultAccountIconId,
|
||||
defaultAccountIcon: allAccountIcons[defaultAccountIconId],
|
||||
totalAccountIconCount: totalAccountIconCount,
|
||||
deviceIcons: deviceIcons,
|
||||
};
|
||||
|
||||
@@ -152,6 +152,12 @@ const licenses = [
|
||||
copyright: 'Copyright (c) 2018 Copyright 2018 Klaus Hartl, Fagner Brack, GitHub Contributors',
|
||||
url: 'https://github.com/js-cookie/js-cookie',
|
||||
licenseUrl: 'https://github.com/js-cookie/js-cookie/blob/master/LICENSE'
|
||||
},
|
||||
{
|
||||
name: 'UAParser.js',
|
||||
copyright: 'Copyright (c) 2012-2019 Faisal Salman <f@faisalman.com>',
|
||||
url: 'https://github.com/faisalman/ua-parser-js',
|
||||
licenseUrl: 'https://github.com/faisalman/ua-parser-js/blob/master/license.md'
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user