Preservar a oportunidade durante o registo e preparacao do perfil
This commit is contained in:
@@ -32,6 +32,7 @@ export default function Entry({
|
||||
password_confirmation: '',
|
||||
portal_version: portal.version,
|
||||
notice_acknowledged: false,
|
||||
opportunity_id: null as number | null,
|
||||
});
|
||||
const credentials = (form: typeof login, prefix: string) => (
|
||||
<>
|
||||
@@ -114,9 +115,10 @@ export default function Entry({
|
||||
<a
|
||||
className="inline-block underline"
|
||||
href="#candidate-login"
|
||||
onClick={() =>
|
||||
login.setData('opportunity_id', item.id)
|
||||
}
|
||||
onClick={() => {
|
||||
login.setData('opportunity_id', item.id);
|
||||
register.setData('opportunity_id', item.id);
|
||||
}}
|
||||
>
|
||||
Entrar para preparar a candidatura
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user