mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-27 21:43:20 +03:00
add title
to Candidate
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
048bb9c71f
commit
8149f57fd1
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -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, {
|
||||
|
@ -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}
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user