setup profile edition
This commit is contained in:
@@ -11,9 +11,9 @@ from .states import StartSG
|
||||
start_dialog = Dialog(
|
||||
Window(
|
||||
Format("Привет, {user.fullname}"),
|
||||
Start(Const("события"), id="events", state=EventsSG.events_list),
|
||||
Button(Const("создать событие"), id="create_event", when="is_admin"),
|
||||
Start(Const("профиль"), id="profile", state=ProfileSG.profile),
|
||||
Start(Const("📃 события"), id="events", state=EventsSG.events_list),
|
||||
Button(Const("✏️ создать событие"), id="create_event", when="is_admin"),
|
||||
Start(Const("👤 профиль"), id="profile", state=ProfileSG.profile),
|
||||
getter=[user_getter, is_admin_getter],
|
||||
state=StartSG.start,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user