From d0d884cf84c4328fefe55963323130fe2757df30 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Mon, 25 Sep 2023 15:54:17 +0600 Subject: [PATCH] Disable calendar app (#3736) Signed-off-by: Denis Bykhov --- models/calendar/src/index.ts | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/models/calendar/src/index.ts b/models/calendar/src/index.ts index 089e642814..7f77746f09 100644 --- a/models/calendar/src/index.ts +++ b/models/calendar/src/index.ts @@ -20,8 +20,7 @@ import { Event, ReccuringEvent, ReccuringInstance, - RecurringRule, - calendarId + RecurringRule } from '@hcengineering/calendar' import { Contact } from '@hcengineering/contact' import { DateRangeMode, Domain, IndexKind, Markup, Ref, Timestamp } from '@hcengineering/core' @@ -47,7 +46,6 @@ import contact from '@hcengineering/model-contact' import core, { TAttachedDoc, TClass } from '@hcengineering/model-core' import { TSpaceWithStates } from '@hcengineering/model-task' import view, { createAction } from '@hcengineering/model-view' -import workbench from '@hcengineering/model-workbench' import notification from '@hcengineering/notification' import setting from '@hcengineering/setting' import { AnyComponent } from '@hcengineering/ui' @@ -138,19 +136,6 @@ export class TCalendarEventPresenter extends TClass implements CalendarEventPres export function createModel (builder: Builder): void { builder.createModel(TCalendar, TReccuringEvent, TReccuringInstance, TEvent, TCalendarEventPresenter) - builder.createDoc( - workbench.class.Application, - core.space.Model, - { - label: calendar.string.ApplicationLabelCalendar, - icon: calendar.icon.Calendar, - alias: calendarId, - hidden: false, - component: calendar.component.Events - }, - calendar.app.Calendar - ) - builder.mixin(calendar.class.Event, core.class.Class, calendar.mixin.CalendarEventPresenter, { presenter: calendar.component.CalendarEventPresenter })