minor fixes
This commit is contained in:
parent
b4da6b9729
commit
2f6e2b15aa
@ -124,7 +124,7 @@ class ShoppingCartAndOrders(Component):
|
||||
dialog = await self.session.show_custom_dialog(
|
||||
build=build_dialog_content,
|
||||
modal=True,
|
||||
user_closeable=True,
|
||||
user_closable=True,
|
||||
)
|
||||
await dialog.wait_for_close()
|
||||
|
||||
|
||||
@ -13,7 +13,6 @@ class ContactPage(Component):
|
||||
# Workaround: Can not reassign this value without rio triggering refresh
|
||||
# Using list to bypass this behavior
|
||||
last_message_sent: list[datetime] = [datetime(day=1, month=1, year=2000)]
|
||||
display_printing: list[bool] = [False]
|
||||
user: Optional[User] = None
|
||||
|
||||
e_mail: str = ""
|
||||
@ -45,7 +44,6 @@ class ContactPage(Component):
|
||||
elif (now - self.last_message_sent[0]) < timedelta(minutes=1):
|
||||
error_msg = "Immer mit der Ruhe!"
|
||||
if error_msg:
|
||||
print(error_msg)
|
||||
self.submit_button_is_loading = False
|
||||
self.is_success = False
|
||||
self.response_message = error_msg
|
||||
|
||||
Loading…
Reference in New Issue
Block a user