Skip to content
Snippets Groups Projects
Commit a0ad99e1 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

fix: render "0" on consumption view

parent 7aaefd6c
No related branches found
No related tags found
2 merge requests!8052.1,!798Resolve ""0" est affiché à la fin de la page de consommation"
......@@ -221,7 +221,7 @@ const ConsumptionView: React.FC<ConsumptionViewProps> = ({
customPopup={customPopupModal}
handleCloseClick={handleCloseCustomPopupModal}
/>
{consentExpiredFluids.length &&
{Boolean(consentExpiredFluids.length) &&
consentExpiredFluids.map(fluid => {
return (
<ExpiredConsentModal
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment