Arreglat error afegint sets en pàgines amb múltiples llistes

This commit is contained in:
marc
2026-05-11 20:12:19 +02:00
parent 89f72dbb33
commit ab28120390
2 changed files with 7 additions and 7 deletions

View File

@@ -100,7 +100,7 @@ def delete_tema(playlist_id: int, set_id: int, entry_id: int):
playlists_service.delete_tema(entry_id=entry_id)
if not playlists_service.get_set(playlist_id=playlist_id, set_id=set_id):
headers = {
"HX-Trigger": f"reload-set-{set_id}"
"HX-Trigger": f"reload-set-{playlist_id}-{set_id}"
}
else:
headers = {}