Compare commits

...

2 Commits

Author SHA1 Message Date
llaniau 2e9fa7e9d0 Corrections mineures 2020-10-15 14:45:36 +02:00
llaniau c0e5ec6e90 Test api pole emploi 2020-10-14 17:36:43 +02:00
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -457,8 +457,8 @@ function OffreDetail(props) {
<section className={classes.IconTextContainer}>
{offre.is_promoted && (<Chip label="Pourvue" className={classes.chip} />)}
{offre.extra && (<IconText classes={{ root: classes.iconText, icon: classes.iconTextIcon, text: classes.iconTextText }} variant="assignment" text={offre.extra.contract_type} />)}
{offre.location && offre.location.gmap_address && (<IconText classes={{ root: classes.iconText, icon: classes.iconTextIcon, text: classes.iconTextText }} variant="location_on" text={offre.location.gmap_address.formatted_address} />)}
{tempsTypeFr && (<IconText classes={{ root: classes.iconText, icon: classes.iconTextIcon, text: classes.iconTextText }} variant="watch_later" text={tempsTypeFr} />)}
{offre.location && offre.location.gmap_address && (<IconText classes={{ root: classes.iconText, icon: classes.iconTextIcon, text: classes.iconTextText }} variant="location_on" text={offre.location.gmap_address.formatted_address} />)}
{offre.beneficiaire && (<IconText classes={{ root: classes.iconText, icon: classes.iconTextIcon, text: classes.iconTextText }} variant="business" text={offre.beneficiaire} />)}
</section>
</Hidden>
+6 -5
View File
@@ -432,11 +432,7 @@ class Entreprise extends React.Component {
</div>
</div>
<div className={classes.buttonContainer}>
<Button
variant="contained"
className={classes.button}
onClick={() => Router.push(`/Reponse?companyId=${company.id}`)}
>Candidature spontanée</Button>
<Link href="#discover" >
<Button
variant="contained"
@@ -444,6 +440,11 @@ class Entreprise extends React.Component {
>Voir les offres</Button>
</Link>
<Button
variant="contained"
className={classes.button}
onClick={() => Router.push(`/Reponse?companyId=${company.id}`)}
>Candidature spontanée</Button>
</div>
</section>
</Hidden>
+1 -1
View File
@@ -217,7 +217,7 @@ class Index extends React.Component {
// Filter logic
getSuggestionsMetier = async (valueMetier) => {
const inputValue = valueMetier.trim().toLowerCase();
let response = await fetch(publicRuntimeConfig.symphonyUrl+"/api/getAppelationsLibelle?q=" + inputValue );
let response = await fetch(publicRuntimeConfig.symphonyUrl+"api/getAppelationsLibelle?q=" + inputValue );
// let response = await fetch("http://www.omdbapi.com/?s=" + inputValue + "&apikey=a591bb53");
let data = await response.json()
return data;