add calendar to userAdminMenu

pull/1/head
ansuz 4 years ago
parent c7d1f8b32c
commit deb9bf2bd8

@ -1676,6 +1676,18 @@ define([
},
});
}
if (padType !== 'calendar' && accountName) {
options.push({
tag: 'a',
attributes: {
'class': 'fa fa-calendar',
},
content: h('span', Messages.calendar),
action: function () {
Common.openURL('/calendar/');
},
});
}
if (padType !== 'contacts' && accountName) {
options.push({
tag: 'a',

Loading…
Cancel
Save