mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-26 04:23:58 +03:00
Fix templates (#3018)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
c917f9c59a
commit
5b6c9d0342
@ -33,6 +33,7 @@
|
||||
"@hcengineering/model-contact": "^0.6.1",
|
||||
"@hcengineering/view": "^0.6.4",
|
||||
"@hcengineering/model-view": "^0.6.0",
|
||||
"@hcengineering/model-tracker": "^0.6.0",
|
||||
"@hcengineering/templates": "^0.6.2",
|
||||
"@hcengineering/templates-resources": "^0.6.0",
|
||||
"@hcengineering/setting": "^0.6.5",
|
||||
|
@ -29,6 +29,7 @@ import type {
|
||||
TemplateFieldFunc
|
||||
} from '@hcengineering/templates'
|
||||
import templates from './plugin'
|
||||
import tracker from '@hcengineering/model-tracker'
|
||||
|
||||
export const DOMAIN_TEMPLATES = 'templates' as Domain
|
||||
|
||||
@ -159,6 +160,10 @@ export function createModel (builder: Builder): void {
|
||||
},
|
||||
templates.action.Move
|
||||
)
|
||||
|
||||
builder.mixin(templates.class.MessageTemplate, core.class.Class, view.mixin.IgnoreActions, {
|
||||
actions: [view.action.Open, tracker.action.NewRelatedIssue]
|
||||
})
|
||||
}
|
||||
|
||||
export { templatesOperation } from './migration'
|
||||
|
@ -148,7 +148,7 @@
|
||||
<div class="ac-header__title"><Label label={templatesPlugin.string.Templates} /></div>
|
||||
</div>
|
||||
|
||||
<div class="ac-body columns">
|
||||
<div class="ac-body columns clear-mins">
|
||||
<div class="ac-column">
|
||||
<div id="create-template" class="flex-between trans-title mb-3">
|
||||
<Button
|
||||
|
Loading…
Reference in New Issue
Block a user