mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-27 01:13:27 +03:00
remove CreateApplicationPresenter
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
a7a21b429f
commit
65b57b1f42
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -40,6 +40,7 @@ export function createDemo (builder: Builder): void {
|
||||
builder.createDoc(recruit.class.Candidate, recruit.space.CandidatesPublic, {
|
||||
firstName: 'Andrey',
|
||||
lastName: 'P.',
|
||||
title: 'Chief Architect',
|
||||
city: 'Monte Carlo',
|
||||
channels: [
|
||||
{
|
||||
@ -53,6 +54,7 @@ export function createDemo (builder: Builder): void {
|
||||
builder.createDoc(recruit.class.Candidate, recruit.space.CandidatesPublic, {
|
||||
firstName: 'Marina',
|
||||
lastName: 'M.',
|
||||
title: 'Chief Designer',
|
||||
city: 'Los Angeles',
|
||||
channels: [
|
||||
{
|
||||
@ -62,4 +64,18 @@ export function createDemo (builder: Builder): void {
|
||||
],
|
||||
attachments: {}
|
||||
})
|
||||
|
||||
builder.createDoc(recruit.class.Candidate, recruit.space.CandidatesPublic, {
|
||||
firstName: 'Alex',
|
||||
lastName: 'P.',
|
||||
title: 'Frontend Engineer',
|
||||
city: 'Krasnodar, Russia',
|
||||
channels: [
|
||||
{
|
||||
provider: contact.channelProvider.Email,
|
||||
value: 'alex@hc.engineering'
|
||||
}
|
||||
],
|
||||
attachments: {}
|
||||
})
|
||||
}
|
||||
|
@ -110,7 +110,7 @@ export function createModel (builder: Builder): void {
|
||||
// resume: chunter.class.Attachment
|
||||
// }
|
||||
} as FindOptions<Doc>, // TODO: fix
|
||||
config: ['', '#' + recruit.component.CreateApplicationPresenter + '/Action', 'title', 'city', '#' + chunter.component.AttachmentPresenter + '/Files', 'channels']
|
||||
config: ['', 'title', 'city', '#' + chunter.component.AttachmentPresenter + '/Files', 'channels']
|
||||
})
|
||||
|
||||
builder.createDoc(view.class.Viewlet, core.space.Model, {
|
||||
|
@ -41,7 +41,6 @@ export default mergeIds(recruitId, recruit, {
|
||||
CreateApplication: '' as AnyComponent,
|
||||
EditCandidate: '' as AnyComponent,
|
||||
KanbanCard: '' as AnyComponent,
|
||||
CreateApplicationPresenter: '' as AnyComponent,
|
||||
ApplicationPresenter: '' as AnyComponent
|
||||
},
|
||||
space: {
|
||||
|
@ -23,7 +23,6 @@ import EditCandidate from './components/EditCandidate.svelte'
|
||||
import CandidateGeneral from './components/CandidateGeneral.svelte'
|
||||
import Attachments from './components/Attachments.svelte'
|
||||
import KanbanCard from './components/KanbanCard.svelte'
|
||||
import CreateApplicationPresenter from './components/CreateApplicationPresenter.svelte'
|
||||
import ApplicationPresenter from './components/ApplicationPresenter.svelte'
|
||||
|
||||
import { showPopup } from '@anticrm/ui'
|
||||
@ -45,7 +44,6 @@ export default async () => ({
|
||||
CandidateGeneral,
|
||||
Attachments,
|
||||
KanbanCard,
|
||||
CreateApplicationPresenter,
|
||||
ApplicationPresenter
|
||||
},
|
||||
})
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user