diff --git a/plugins/recruit-resources/src/components/CreateCandidate.svelte b/plugins/recruit-resources/src/components/CreateCandidate.svelte index 42be8e2293..859d357bc4 100644 --- a/plugins/recruit-resources/src/components/CreateCandidate.svelte +++ b/plugins/recruit-resources/src/components/CreateCandidate.svelte @@ -16,8 +16,10 @@ @@ -108,7 +127,9 @@ 0 && object.lastName.length > 0} + spaceClass={recruit.class.Candidates} + bind:space={_space} on:close={() => { dispatch('close') }}> @@ -126,22 +147,22 @@ - - - + + + - {#if kl === 0} - { showPopup(PDFViewer, { file: resume.uuid }, 'right') } }>Upload resume + {#if resume.id} + { showPopup(PDFViewer, { file: resume.uuid }, 'right') } }/> {:else} - { inputFile.click() } }>Resume - + { inputFile.click() } }>Upload resume + {/if} - - showPopup(SocialEditor, { values: newValue.channels ?? [] }, ev.target, (result) => { newValue.channels = result; isChanged() })} /> + + showPopup(SocialEditor, { values: object.channels ?? [] }, ev.target, (result) => { object.channels = result })} />