From 23bd1909d9b5175446b9ed431534f4e152489322 Mon Sep 17 00:00:00 2001 From: mama Date: Tue, 9 May 2017 16:33:35 +0200 Subject: [PATCH] =?UTF-8?q?Les=20URL=20de=20/r=C3=A8gle=20et=20de=20/simu?= =?UTF-8?q?=20sont=20encod=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit l'espace devient - --- source/components/HomeEmbauche.js | 2 +- source/components/HomeSyso.js | 6 +++--- source/components/Results.js | 3 ++- source/components/Rule.js | 7 ++++--- source/components/Simulateur.js | 14 ++++++++------ source/engine/rules.js | 4 ++++ 6 files changed, 22 insertions(+), 14 deletions(-) diff --git a/source/components/HomeEmbauche.js b/source/components/HomeEmbauche.js index 309315283..4e76518f3 100644 --- a/source/components/HomeEmbauche.js +++ b/source/components/HomeEmbauche.js @@ -30,7 +30,7 @@ export default class HomeEmbauche extends Component {
Nouveau - Simuler le surcoût CDD (beta) + Simuler le surcoût CDD (beta)
diff --git a/source/components/HomeSyso.js b/source/components/HomeSyso.js index 33f1c64ea..46cc9a2ab 100644 --- a/source/components/HomeSyso.js +++ b/source/components/HomeSyso.js @@ -1,6 +1,6 @@ import React, {Component} from 'react' import './HomeSyso.css' -import {searchRules} from '../engine/rules.js' +import {searchRules, encodeRuleName} from '../engine/rules.js' import {Link} from 'react-router-dom' import '../components/Rule.css' import R from 'ramda' @@ -48,7 +48,7 @@ export default class Home extends Component { {type} - {name} + {name} ))} @@ -60,7 +60,7 @@ export default class Home extends Component {