From c9c6373d0459d144f08515d4557a3f473e326aaa Mon Sep 17 00:00:00 2001 From: Grant Forrest Date: Wed, 10 Apr 2024 19:51:04 -0400 Subject: [PATCH] fix trip tick n per trip --- apps/trip-tick/web/src/components/trips/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/trip-tick/web/src/components/trips/utils.ts b/apps/trip-tick/web/src/components/trips/utils.ts index 618a246c..2f401d59 100644 --- a/apps/trip-tick/web/src/components/trips/utils.ts +++ b/apps/trip-tick/web/src/components/trips/utils.ts @@ -12,7 +12,7 @@ export function getComputedQuantity({ additional: number; }) { if (perDays < 1) { - return additional + 1; + return quantity + additional; } return ( additional +