diff --git a/app/keyboards/time_slots.py b/app/keyboards/time_slots.py index 2474a99..fb5cf35 100644 --- a/app/keyboards/time_slots.py +++ b/app/keyboards/time_slots.py @@ -1,5 +1,6 @@ from aiogram.types import InlineKeyboardMarkup, InlineKeyboardButton from app.config import TIME_SLOTS +from app.keyboards.back import get_back_button def get_time_keyboard(busy_times): @@ -17,4 +18,5 @@ def get_time_keyboard(busy_times): row = [] if row: buttons.append(row) + buttons.append(get_back_button()) return InlineKeyboardMarkup(inline_keyboard=buttons)