pre-release-changes #14

Merged
Typhus merged 17 commits from pre-release-changes into main 2025-03-25 23:07:43 +00:00
Showing only changes of commit db8ada283b - Show all commits

View File

@ -73,6 +73,8 @@ class UserInfoBox(Component):
async def update(self) -> None:
if not self.user:
self.user = await self.session[UserService].get_user(self.session[SessionStorage].user_id)
if not self.user:
return
self.user_balance = await self.session[AccountingService].get_balance(self.user.user_id)
self.user_ticket = await self.session[TicketingService].get_user_ticket(self.user.user_id)
self.user_seat = await self.session[SeatingService].get_user_seat(self.user.user_id)