We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 861e0f1 commit 636eb96Copy full SHA for 636eb96
packages/create-svelte/templates/default/src/routes/todos/index.svelte
@@ -31,6 +31,7 @@
31
created_at: Date;
32
text: string;
33
done: boolean;
34
+ pending_delete: boolean;
35
};
36
37
export let todos: Todo[];
@@ -111,7 +112,7 @@
111
112
}
113
}}
114
>
- <button class="delete" aria-label="Delete todo" disabled={!!todo.pending_delete} />
115
+ <button class="delete" aria-label="Delete todo" disabled={todo.pending_delete} />
116
</form>
117
</div>
118
{/each}
0 commit comments