From b2be01b6b9a66010778ee4a3b3c4de37e65c2aec Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Tue, 29 Oct 2024 13:42:52 -0300 Subject: [PATCH] feat: add selective_update event --- app/apps/transactions/views/transactions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/apps/transactions/views/transactions.py b/app/apps/transactions/views/transactions.py index 4cf4b13..e266d2c 100644 --- a/app/apps/transactions/views/transactions.py +++ b/app/apps/transactions/views/transactions.py @@ -149,7 +149,7 @@ def transaction_pay(request, transaction_id): context={"transaction": transaction, **request.GET}, ) 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