diff --git a/plugins/recruit-resources/src/components/CreateCandidate.svelte b/plugins/recruit-resources/src/components/CreateCandidate.svelte index b49355c41ac..af3b3f21697 100644 --- a/plugins/recruit-resources/src/components/CreateCandidate.svelte +++ b/plugins/recruit-resources/src/components/CreateCandidate.svelte @@ -1,16 +1,16 @@ @@ -584,8 +371,7 @@ 0 || (object.lastName?.length ?? 0) > 0 || object.channels.length > 0)} + canSave={!loading && (((object.firstName && object.firstName.length > 0) || (object.lastName && object.lastName.length > 0)) || (object.channels && object.channels.length > 0))} on:close={() => { dispatch('close') }} @@ -595,146 +381,13 @@ - {:else} - + {:else} +