add calendar to userAdminMenu

pull/1/head
ansuz 2021-04-30 08:56:14 +05:30
parent c7d1f8b32c
commit deb9bf2bd8
1 changed files with 12 additions and 0 deletions

View File

@ -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',