config command now works fully
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
from aiogram import types
|
||||
from bot.db import db, DBTables
|
||||
from bot.callbacks.factories.set_model import set_model_page, set_model
|
||||
from bot.callbacks.factories.common import close_keyboard_data
|
||||
|
||||
|
||||
def get_set_model_keyboard(page: int) -> types.InlineKeyboardMarkup:
|
||||
@@ -30,7 +29,7 @@ def get_set_model_keyboard(page: int) -> types.InlineKeyboardMarkup:
|
||||
keyboard.add(*models_buttons)
|
||||
|
||||
keyboard.add(
|
||||
types.InlineKeyboardButton("🔻 Cancel", callback_data=close_keyboard_data.new())
|
||||
types.InlineKeyboardButton("🔻 Cancel", callback_data="close_keyboard")
|
||||
)
|
||||
|
||||
return keyboard
|
||||
|
||||
Reference in New Issue
Block a user