add title to Candidate

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-09-25 19:05:56 +02:00
parent 048bb9c71f
commit 8149f57fd1
No known key found for this signature in database
GPG Key ID: C8787EFEB4B64AF0
6 changed files with 712 additions and 708 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -110,7 +110,7 @@ export function createModel (builder: Builder): void {
// resume: chunter.class.Attachment
// }
} as FindOptions<Doc>, // TODO: fix
config: ['', '#' + recruit.component.CreateApplicationPresenter + '/Action', 'city', '#' + chunter.component.AttachmentPresenter + '/Files', 'channels']
config: ['', '#' + recruit.component.CreateApplicationPresenter + '/Action', 'title', 'city', '#' + chunter.component.AttachmentPresenter + '/Files', 'channels']
})
builder.createDoc(view.class.Viewlet, core.space.Model, {

View File

@ -65,6 +65,7 @@
const candidate: Data<Candidate> = {
firstName: object.firstName,
lastName: object.lastName,
title: object.title,
city: object.city,
channels: object.channels,
attachments: {}
@ -173,7 +174,7 @@
<div class="flex-col">
<div class="name"><EditBox placeholder="John" maxWidth="9.5rem" bind:value={object.firstName}/></div>
<div class="name"><EditBox placeholder="Appleseed" maxWidth="9.5rem" bind:value={object.lastName}/></div>
<div class="title"><EditBox placeholder="Title" maxWidth="9.5rem"/></div>
<div class="title"><EditBox placeholder="Title" maxWidth="9.5rem" bind:value={object.title}/></div>
<div class="city"><EditBox placeholder="Location" maxWidth="9.5rem" bind:value={object.city}/></div>
<!-- <div class="flex resume">
{#if resume.uuid}

View File

@ -45,7 +45,7 @@
for (let i=0; i<len; i++){
obj = obj?.[path[i]]
}
return obj
return obj ?? ''
}
const client = getClient()

File diff suppressed because it is too large Load Diff