From 2aea225e2e3f1c43cd09651fe4cd65196e27c322 Mon Sep 17 00:00:00 2001 From: NW Date: Sat, 14 Dec 2024 15:02:50 +0000 Subject: [PATCH] update back category --- src/handlers/userHandlers/userProductHandler.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/handlers/userHandlers/userProductHandler.js b/src/handlers/userHandlers/userProductHandler.js index 99dd1b7..27fc867 100644 --- a/src/handlers/userHandlers/userProductHandler.js +++ b/src/handlers/userHandlers/userProductHandler.js @@ -340,10 +340,7 @@ Subcategory: ${product.subcategory_name} callback_game: product.quantity_in_stock <= 1 ? {} : null // Disabled if stock is 1 or less } ], - [{ - text: `« Back to ${product.subcategory_name}`, - callback_data: `shop_subcategory_${product.location_id}_${product.category_id}_${product.subcategory_id}_${photoMessageId}` - }] + [{ text: '« Back', callback_data: `shop_category_${product.location_id}_${product.category_id}` }] // Возврат к категории ] };