From 761e37ade6c0711284bcd979b18110df1678cac1 Mon Sep 17 00:00:00 2001 From: imperosol Date: Thu, 26 Dec 2024 17:26:06 +0100 Subject: [PATCH] fix product fetch --- counter/static/bundled/counter/product-list-index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/counter/static/bundled/counter/product-list-index.ts b/counter/static/bundled/counter/product-list-index.ts index 4c08eae5..70403692 100644 --- a/counter/static/bundled/counter/product-list-index.ts +++ b/counter/static/bundled/counter/product-list-index.ts @@ -108,7 +108,7 @@ document.addEventListener("alpine:init", () => { // biome-ignore lint/style/useNamingConvention: api is in snake_case is_archived: isArchived, // biome-ignore lint/style/useNamingConvention: api is in snake_case - product_type: this.productTypes, + product_type: [...this.productTypes], }, }; },