Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tx-techno-num
impactometre
Commits
38f6112d
Commit
38f6112d
authored
Jul 05, 2020
by
Matt Glorion
Browse files
[UPD] cleanup
parent
45b41167
Changes
1
Hide whitespace changes
Inline
Side-by-side
front/src/components/Results.vue
View file @
38f6112d
...
...
@@ -78,15 +78,15 @@ export default {
sections_comparatif
:
[
{
name
:
"
sante_humaine
"
,
title
:
"
Santé
H
umaine
"
,
title
:
"
Santé
h
umaine
"
,
},
{
name
:
"
qualite_ecosysteme
"
,
title
:
"
Qualité des
É
cosystèmes
"
,
title
:
"
Qualité des
é
cosystèmes
"
,
},
{
name
:
"
changement_climatique
"
,
title
:
"
Changement
C
limatique
"
,
title
:
"
Changement
c
limatique
"
,
},
{
name
:
"
ressources
"
,
...
...
@@ -138,7 +138,7 @@ export default {
store
.
commit
(
"
updateScenarios
"
,
new_scenarios
);
store
.
dispatch
(
"
callAPI
"
).
then
(()
=>
{
this
.
re_render_results
=
!
this
.
re_render_results
;
this
.
$root
.
$emit
(
"
re_render_results_detailled
"
);
setTimeout
(
()
=>
this
.
$root
.
$emit
(
"
re_render_results_detailled
"
)
,
500
)
;
});
},
display_results_detailled_view
(
choice
)
{
...
...
@@ -154,11 +154,6 @@ export default {
return
(
sphere
)
=>
store
.
state
.
impact_on_spheres
[
sphere
];
},
},
mounted
()
{
this
.
$root
.
$on
(
"
renderResults
"
,
()
=>
{
this
.
re_render_results
=
!
this
.
re_render_results
;
});
},
};
</
script
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment