diff --git a/Program.cs b/Program.cs index a40cdd6..d4d795b 100644 --- a/Program.cs +++ b/Program.cs @@ -231,9 +231,9 @@ class Program { await ViewReports(botClient, chatId); } - else if (data == "back_to_archived_list") + else if (data == "back_to_admin_panel") { - await ViewArchivedReports(botClient, chatId); + await SendAdminPanel(botClient, chatId); } else if (data == "main_menu") { @@ -527,7 +527,7 @@ class Program // Добавляем кнопки навигации buttons.Add(new[] { - InlineKeyboardButton.WithCallbackData("Назад", "back_to_list"), + InlineKeyboardButton.WithCallbackData("Назад", "back_to_admin_panel"), InlineKeyboardButton.WithCallbackData("Главное меню", "main_menu") });