products pagination
This commit is contained in:
parent
df3149e59a
commit
e1eda05afe
File diff suppressed because it is too large
Load Diff
@ -269,6 +269,9 @@ bot.on('callback_query', async (callbackQuery) => {
|
|||||||
} else if (action.startsWith('prod_subcategory_')) {
|
} else if (action.startsWith('prod_subcategory_')) {
|
||||||
logDebug(action, 'handleSubcategorySelection');
|
logDebug(action, 'handleSubcategorySelection');
|
||||||
await adminProductHandler.handleSubcategorySelection(callbackQuery);
|
await adminProductHandler.handleSubcategorySelection(callbackQuery);
|
||||||
|
} else if (action.startsWith('list_products_')) {
|
||||||
|
logDebug(action, 'handleSubcategorySelection');
|
||||||
|
await adminProductHandler.handleProductListPage(callbackQuery);
|
||||||
} else if (action.startsWith('add_product_')) {
|
} else if (action.startsWith('add_product_')) {
|
||||||
logDebug(action, 'handleAddProduct');
|
logDebug(action, 'handleAddProduct');
|
||||||
await adminProductHandler.handleAddProduct(callbackQuery);
|
await adminProductHandler.handleAddProduct(callbackQuery);
|
||||||
|
Loading…
Reference in New Issue
Block a user