Skip to content
Snippets Groups Projects
Commit 4c231f03 authored by Romain CREY's avatar Romain CREY
Browse files

no compare for years graph

parent 1265681f
Branches
No related tags found
2 merge requests!50Merge dev into master,!43no compare for years graph
......@@ -162,7 +162,7 @@ const FluidChartContent: React.FC<FluidChartContentProps> = ({
consumptionDataManager={consumptionDataManager}
/>
)}
{!multiFluid ? (
{!multiFluid && timeStep !== TimeStep.YEAR ? (
<div className="fv-footer" onClick={handleChangeSwitch}>
<div className="fv-footer-compare text-15-normal">
<Switch fluidTypes={fluidTypes} checked={showCompare} />
......@@ -177,7 +177,7 @@ const FluidChartContent: React.FC<FluidChartContentProps> = ({
</span>
</div>
</div>
) : challengePeriod ? (
) : challengePeriod && multiFluid ? (
<div className="fv-footer">
<div className="fv-footer-challenge text-15-normal">
<NavLink
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment