mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 14:06:00 +03:00
Disable calendar app (#3736)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
d945b6afab
commit
d0d884cf84
@ -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
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user