Merge pull request #395 from betagouv/fix-aides-link

Fix lien aides
pull/399/head
Johan Girod 2018-10-11 10:35:29 +02:00 committed by GitHub
commit 926089e083
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -294,8 +294,11 @@ class AidesGlimpse extends Component {
- <AnimatedTargetValue value={aides.nodeValue} />{' '}
<Link
to={
this.props.match.path +
'/règle/' +
normalizeBasePath(this.props.match.path).replace(
/simulation\/$/,
''
) +
'règle/' +
encodeRuleName('contrat salarié . aides employeur')
}
style={{ color: this.props.colours.textColour }}>