From e1495efa4bab8ba1db0fc5dbf0d7ec809ba5f8aa Mon Sep 17 00:00:00 2001 From: Anna No Date: Tue, 28 Jun 2022 14:13:39 +0700 Subject: [PATCH] Automation: Disable UI (#2158) Signed-off-by: Anna --- models/automation/src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/automation/src/index.ts b/models/automation/src/index.ts index bd060d4960..00d1c31093 100644 --- a/models/automation/src/index.ts +++ b/models/automation/src/index.ts @@ -26,11 +26,8 @@ import automation, { import { Class, Doc, Domain, Ref } from '@anticrm/core' import { Builder, Mixin, Model, Prop, TypeString, UX } from '@anticrm/model' import core, { TAttachedDoc, TClass } from '@anticrm/model-core' -import setting from '@anticrm/setting' import view from '@anticrm/view' -import plugin from './plugin' - export const DOMAIN_AUTOMATION = 'automation' as Domain @Model(automation.class.Automation, core.class.AttachedDoc, DOMAIN_AUTOMATION) @@ -71,6 +68,8 @@ export function createModel (builder: Builder): void { }, automation.space.Automation ) + + /** Disable Automation UI builder.createDoc( setting.class.SettingsCategory, core.space.Model, @@ -83,6 +82,7 @@ export function createModel (builder: Builder): void { }, plugin.ids.Automation ) + */ // TODO: Enable when server triggers are added builder.mixin(automation.class.Automation, core.class.Class, view.mixin.IgnoreActions, {