catalogue operations, db migr and so on.
pre release version.
This commit is contained in:
@@ -26,15 +26,16 @@ async def subcatalogue(
|
||||
|
||||
view = await catalogue_service.build_category_view(session, cat_id)
|
||||
kb = render_catalogue(view, is_admin=is_admin)
|
||||
path = await catalogue_service.get_path(session, cat_id)
|
||||
|
||||
if cb.message.photo:
|
||||
await cb.message.delete()
|
||||
await cb.answer(
|
||||
"category selection",
|
||||
await cb.message.answer(
|
||||
f"{path}",
|
||||
reply_markup=kb,
|
||||
)
|
||||
return
|
||||
await cb.message.edit_text(
|
||||
"category selection",
|
||||
f"{path}",
|
||||
reply_markup=kb,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user