From 7941675102cabc7d5d7bc9e1511f4d765e3c18ba Mon Sep 17 00:00:00 2001 From: Dev Date: Tue, 7 Nov 2023 21:13:41 +0000 Subject: [PATCH] `getItemPrice()` if static price is 0 and dynamic price is missing, return 0 instead of undefined --- project/src/helpers/ItemHelper.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project/src/helpers/ItemHelper.ts b/project/src/helpers/ItemHelper.ts index 6109a9f0..c5bcd324 100644 --- a/project/src/helpers/ItemHelper.ts +++ b/project/src/helpers/ItemHelper.ts @@ -117,6 +117,8 @@ class ItemHelper { return dynamicPrice; } + + return 0; } /**