mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 00:10:37 +00:00
Remove Table view from Applications (#1216)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
4e77624826
commit
a9d11bc0dd
@ -128,7 +128,7 @@ export function createModel (builder: Builder): void {
|
|||||||
|
|
||||||
builder.createDoc(view.class.Viewlet, core.space.Model, {
|
builder.createDoc(view.class.Viewlet, core.space.Model, {
|
||||||
attachTo: lead.class.Lead,
|
attachTo: lead.class.Lead,
|
||||||
descriptor: view.viewlet.Table,
|
descriptor: task.viewlet.StatusTable,
|
||||||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
||||||
options: {
|
options: {
|
||||||
lookup: leadLookup
|
lookup: leadLookup
|
||||||
|
@ -264,7 +264,7 @@ export function createModel (builder: Builder): void {
|
|||||||
|
|
||||||
builder.createDoc(view.class.Viewlet, core.space.Model, {
|
builder.createDoc(view.class.Viewlet, core.space.Model, {
|
||||||
attachTo: recruit.class.Applicant,
|
attachTo: recruit.class.Applicant,
|
||||||
descriptor: view.viewlet.Table,
|
descriptor: task.viewlet.StatusTable,
|
||||||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
||||||
options: {
|
options: {
|
||||||
lookup: applicantTableLookup
|
lookup: applicantTableLookup
|
||||||
@ -304,30 +304,6 @@ export function createModel (builder: Builder): void {
|
|||||||
config: []
|
config: []
|
||||||
})
|
})
|
||||||
|
|
||||||
builder.createDoc(view.class.Viewlet, core.space.Model, {
|
|
||||||
attachTo: recruit.class.Applicant,
|
|
||||||
descriptor: task.viewlet.StatusTable,
|
|
||||||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
|
||||||
options: {
|
|
||||||
lookup: applicantTableLookup
|
|
||||||
} as FindOptions<Doc>, // TODO: fix
|
|
||||||
config: [
|
|
||||||
'',
|
|
||||||
'$lookup.attachedTo',
|
|
||||||
'$lookup.assignee',
|
|
||||||
'$lookup.state',
|
|
||||||
'$lookup.doneState',
|
|
||||||
{
|
|
||||||
presenter: attachment.component.AttachmentsPresenter,
|
|
||||||
label: attachment.string.Files,
|
|
||||||
sortingKey: 'attachments'
|
|
||||||
},
|
|
||||||
{ presenter: chunter.component.CommentsPresenter, label: chunter.string.Comments, sortingKey: 'comments' },
|
|
||||||
'modifiedOn',
|
|
||||||
'$lookup.attachedTo.$lookup.channels'
|
|
||||||
]
|
|
||||||
})
|
|
||||||
|
|
||||||
builder.mixin(recruit.class.Applicant, core.class.Class, task.mixin.KanbanCard, {
|
builder.mixin(recruit.class.Applicant, core.class.Class, task.mixin.KanbanCard, {
|
||||||
card: recruit.component.KanbanCard
|
card: recruit.component.KanbanCard
|
||||||
})
|
})
|
||||||
|
@ -297,7 +297,7 @@ export function createModel (builder: Builder): void {
|
|||||||
|
|
||||||
builder.createDoc(view.class.Viewlet, core.space.Model, {
|
builder.createDoc(view.class.Viewlet, core.space.Model, {
|
||||||
attachTo: task.class.Issue,
|
attachTo: task.class.Issue,
|
||||||
descriptor: view.viewlet.Table,
|
descriptor: task.viewlet.StatusTable,
|
||||||
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
|
||||||
options: {
|
options: {
|
||||||
lookup: { assignee: contact.class.Employee }
|
lookup: { assignee: contact.class.Employee }
|
||||||
|
Loading…
Reference in New Issue
Block a user