mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-15 21:03:30 +00: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,
|
Event,
|
||||||
ReccuringEvent,
|
ReccuringEvent,
|
||||||
ReccuringInstance,
|
ReccuringInstance,
|
||||||
RecurringRule,
|
RecurringRule
|
||||||
calendarId
|
|
||||||
} from '@hcengineering/calendar'
|
} from '@hcengineering/calendar'
|
||||||
import { Contact } from '@hcengineering/contact'
|
import { Contact } from '@hcengineering/contact'
|
||||||
import { DateRangeMode, Domain, IndexKind, Markup, Ref, Timestamp } from '@hcengineering/core'
|
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 core, { TAttachedDoc, TClass } from '@hcengineering/model-core'
|
||||||
import { TSpaceWithStates } from '@hcengineering/model-task'
|
import { TSpaceWithStates } from '@hcengineering/model-task'
|
||||||
import view, { createAction } from '@hcengineering/model-view'
|
import view, { createAction } from '@hcengineering/model-view'
|
||||||
import workbench from '@hcengineering/model-workbench'
|
|
||||||
import notification from '@hcengineering/notification'
|
import notification from '@hcengineering/notification'
|
||||||
import setting from '@hcengineering/setting'
|
import setting from '@hcengineering/setting'
|
||||||
import { AnyComponent } from '@hcengineering/ui'
|
import { AnyComponent } from '@hcengineering/ui'
|
||||||
@ -138,19 +136,6 @@ export class TCalendarEventPresenter extends TClass implements CalendarEventPres
|
|||||||
export function createModel (builder: Builder): void {
|
export function createModel (builder: Builder): void {
|
||||||
builder.createModel(TCalendar, TReccuringEvent, TReccuringInstance, TEvent, TCalendarEventPresenter)
|
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, {
|
builder.mixin(calendar.class.Event, core.class.Class, calendar.mixin.CalendarEventPresenter, {
|
||||||
presenter: calendar.component.CalendarEventPresenter
|
presenter: calendar.component.CalendarEventPresenter
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user