a small fix for the back button

This commit is contained in:
Vladless
2025-11-01 23:53:53 +03:00
parent 0c7da4b9fd
commit 532f066ffb
2 changed files with 12 additions and 1 deletions
+7
View File
@@ -326,3 +326,10 @@ def build_tariff_group_selection_for_servers_kb(
)
builder.adjust(2, 1)
return builder.as_markup()
def build_availability_kb(cluster_name: str) -> InlineKeyboardMarkup:
return InlineKeyboardMarkup(inline_keyboard=[
[InlineKeyboardButton(text="🔁 Обновить", callback_data=AdminClusterCallback(action="availability", data=cluster_name).pack())],
[InlineKeyboardButton(text="⬅️ Назад", callback_data=AdminClusterCallback(action="manage", data=cluster_name).pack())],
])