+2
-4
lines changedFilter options
+2
-4
lines changed Original file line number Diff line number Diff line change
@@ -19,8 +19,7 @@ <h1 v-text="title"></h1>
19
19
autofocus>
20
20
</header>
21
21
22
-
<!-- This section should be hidden by default and shown when there are todos -->
23
-
<section class="main">
22
+
<section class="main" v-if="todos.length">
24
23
25
24
<ul class="todo-list">
26
25
<li v-for="todo in todos" :class="{ completed: todo.isDone, editing: todo === editing }">
@@ -39,8 +38,7 @@ <h1 v-text="title"></h1>
39
38
</ul>
40
39
</section>
41
40
42
-
<!-- This footer should hidden by default and shown when there are todos -->
43
-
<footer class="footer">
41
+
<footer class="footer" v-if="todos.length">
44
42
45
43
<span class="todo-count">
46
44
<strong>{{ activeTodos.length }}</strong> item(s) left</span>
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4