mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-21 07:46:24 +00:00
move leads dashboard viewlet (#2230)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
0a3f5c26d3
commit
6def1db421
@ -155,13 +155,6 @@ export function createModel (builder: Builder): void {
|
||||
lead.app.Lead
|
||||
)
|
||||
|
||||
builder.createDoc(view.class.Viewlet, core.space.Model, {
|
||||
attachTo: lead.class.Lead,
|
||||
descriptor: task.viewlet.Dashboard,
|
||||
options: {},
|
||||
config: []
|
||||
})
|
||||
|
||||
createAction(builder, { ...actionTemplates.archiveSpace, target: lead.class.Funnel })
|
||||
createAction(builder, { ...actionTemplates.unarchiveSpace, target: lead.class.Funnel })
|
||||
|
||||
@ -232,6 +225,13 @@ export function createModel (builder: Builder): void {
|
||||
config: []
|
||||
})
|
||||
|
||||
builder.createDoc(view.class.Viewlet, core.space.Model, {
|
||||
attachTo: lead.class.Lead,
|
||||
descriptor: task.viewlet.Dashboard,
|
||||
options: {},
|
||||
config: []
|
||||
})
|
||||
|
||||
builder.mixin(lead.class.Lead, core.class.Class, task.mixin.KanbanCard, {
|
||||
card: lead.component.KanbanCard
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user