catalogue operations, db migr and so on.

pre release version.
This commit is contained in:
2026-03-11 20:26:38 +07:00
parent 1af0cf1826
commit 7f4f8a883d
17 changed files with 284 additions and 63 deletions

View File

@@ -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,
)