Corrige l'édition inline sur /entries
La section qui se recharge seule transmettait hx-select="#entries-list" aux boutons des lignes : la réponse de « modifier » / « dupliquer » était filtrée à vide et la ligne disparaissait. hx-disinherit="*" sur les conteneurs auto-rafraîchis (liste, aujourd'hui, dernières entrées, timer). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
13bbba1053
commit
3164fa8048
4 files changed
+4
-4
No files matched your search
@@ -1,5 +1,5 @@
|
||||
{% import "_icons.html" as icons %}
|
||||
<section id="timer" hx-get="/ui/timer" hx-trigger="timer-changed from:body" hx-swap="outerHTML" class="card timer{% if running.is_some() %} is-running{% endif %}"{% if let Some(e) = running %} style="--color: {{ e.color }}"{% endif %}>
|
||||
<section id="timer" hx-disinherit="*" hx-get="/ui/timer" hx-trigger="timer-changed from:body" hx-swap="outerHTML" class="card timer{% if running.is_some() %} is-running{% endif %}"{% if let Some(e) = running %} style="--color: {{ e.color }}"{% endif %}>
|
||||
{% if let Some(e) = running %}
|
||||
<div class="current">
|
||||
<div class="current-label">
|
||||
|
||||
Reference in new issue
Block a user