mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-24 01:28:42 +02:00
feat: add selective_update event
This commit is contained in:
@@ -149,7 +149,7 @@ def transaction_pay(request, transaction_id):
|
|||||||
context={"transaction": transaction, **request.GET},
|
context={"transaction": transaction, **request.GET},
|
||||||
)
|
)
|
||||||
response.headers["HX-Trigger"] = (
|
response.headers["HX-Trigger"] = (
|
||||||
f'{"paid" if new_is_paid else "unpaid"}, monthly_summary_update'
|
f'{"paid" if new_is_paid else "unpaid"}, selective_update'
|
||||||
)
|
)
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user