Skip to content

Commit dfe337d

Browse files
committed
fix: reverse todo order in Datastar TodoMVC example
1 parent 2dac108 commit dfe337d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/datastar-todomvc/templates/todo_section.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<section id="todos-section">
22
{% if todos %}
33
<ul>
4-
{% for todo in todos %}
4+
{% for todo in todos | reverse %}
55
<li {% if todo.completed %} data-completed="true" {% endif %}>
66
<label>
77
<input

0 commit comments

Comments
 (0)