feature/admin-section #20

Merged
1323ed5 merged 5 commits from feature/admin-section into main 2024-11-15 12:34:12 +00:00
2 changed files with 602 additions and 508 deletions
Showing only changes of commit e1eda05afe - Show all commits

File diff suppressed because it is too large Load Diff

View File

@ -269,6 +269,9 @@ bot.on('callback_query', async (callbackQuery) => {
} else if (action.startsWith('prod_subcategory_')) {
logDebug(action, 'handleSubcategorySelection');
await adminProductHandler.handleSubcategorySelection(callbackQuery);
} else if (action.startsWith('list_products_')) {
logDebug(action, 'handleSubcategorySelection');
await adminProductHandler.handleProductListPage(callbackQuery);
} else if (action.startsWith('add_product_')) {
logDebug(action, 'handleAddProduct');
await adminProductHandler.handleAddProduct(callbackQuery);