Commit 1cb5414 1 parent 8a98f03 commit 1cb5414 Copy full SHA for 1cb5414
File tree 1 file changed +3
-3
lines changed
front/src/applications/operationalStudies/components/Scenario
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,9 @@ const ScenarioDescription = ({
59
59
< div ref = { ref } className = "scenario-description" >
60
60
{ scenario . description && (
61
61
< div
62
- title = { ! isOpenedDescription ? scenario . description : '' }
62
+ title = { isOpenedDescription ? '' : scenario . description }
63
63
className = { `scenario-details-description ${ isOpenedDescription ? 'opened' : 'not-opened' } ` }
64
- style = { { width : ! isOpenedDescription ? width : width + 120 } }
64
+ style = { { width : isOpenedDescription ? width + 120 : width } }
65
65
>
66
66
{ scenario . description }
67
67
< span
@@ -70,7 +70,7 @@ const ScenarioDescription = ({
70
70
tabIndex = { 0 }
71
71
className = { isOpenedDescription ? 'displayed-description' : 'display-description' }
72
72
>
73
- { ! isOpenedDescription ? '(plus)' : < X /> }
73
+ { isOpenedDescription ? < X /> : '(plus)' }
74
74
</ span >
75
75
</ div >
76
76
) }
You can’t perform that action at this time.
0 commit comments