Skip to content

EspoCRM – Open Source CRM Application

Type, comment

Yuriia842ed69fba0
diff --git a/client/modules/crm/src/views/calendar/calendar.js b/client/modules/crm/src/views/calendar/calendar.js
index 50e0fcbc19..5681024bfe 100644
--- a/client/modules/crm/src/views/calendar/calendar.js
+++ b/client/modules/crm/src/views/calendar/calendar.js
@@ -483,7 +483,6 @@ class CalendarView extends View {
}
/**
- * @private
* @return {string}
*/
getTitle() {
diff --git a/client/modules/crm/src/views/calendar/timeline.js b/client/modules/crm/src/views/calendar/timeline.js
index d6605b6079..3767d8ec16 100644
--- a/client/modules/crm/src/views/calendar/timeline.js
+++ b/client/modules/crm/src/views/calendar/timeline.js
@@ -370,6 +370,11 @@ class TimelineView extends View {
this.getStorage().set('state', key, enabledScopeList);
}
+ /**
+ * @todo Revise for removal? Not used anywhere?
+ * @private
+ * @return {string}
+ */
getTitle() {
let title = '';
diff --git a/client/modules/crm/src/views/dashlets/calendar.js b/client/modules/crm/src/views/dashlets/calendar.js
index 8a01ad3d0d..fe9b634e14 100644
--- a/client/modules/crm/src/views/dashlets/calendar.js
+++ b/client/modules/crm/src/views/dashlets/calendar.js
@@ -60,7 +60,7 @@ class CalendarDashletView extends BaseDashletView {
userList: userList,
enabledScopeList: this.getOption('enabledScopeList'),
suppressLoadingAlert: true,
- }, view => {
+ }).then(/** import('modules/crm/views/calendar/timelint').default */view => {
view.render();
});
@@ -85,7 +85,7 @@ class CalendarDashletView extends BaseDashletView {
teamIdList: teamIdList,
scrollToNowSlots: 3,
suppressLoadingAlert: true,
- }, view => {
+ }).then(/** import('modules/crm/views/calendar/calendar').default */view => {
this.listenTo(view, 'view', () => {
if (this.getOption('mode') === 'month') {
const title = this.getOption('title');