Parcourir la source

Fix wrong campaign title

Francesco Silvetti il y a 4 ans
Parent
commit
90688f45e2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/src/components/UI/dashboard/cockpit/index.tsx

+ 1 - 1
app/src/components/UI/dashboard/cockpit/index.tsx

@@ -141,7 +141,7 @@ const Cockpit: FC = () => {
         </div>
       </section>
       <h5>
-        Temporada {campString(dashboardState.from, dashboardState.to, true)}
+        Temporada {parseInt(dashboardState.year) - 1} - {dashboardState.year} - Vendimia {parseInt(dashboardState.year) - 1}
       </h5>
     </>
   );