From f100884efb3dd3423675801a94c699094274027e Mon Sep 17 00:00:00 2001 From: Professional Date: Wed, 19 Mar 2025 19:57:15 +0700 Subject: [PATCH] =?UTF-8?q?=D0=BA=D0=BD=D0=BE=D0=BF=D0=BA=D0=B0=20=D0=BD?= =?UTF-8?q?=D0=B0=D0=B7=D0=B0=D0=B4=20=D0=B2=20=D0=B0=D1=80=D1=85=D0=B8?= =?UTF-8?q?=D0=B2=D0=B5=20=D1=84=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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") });