design: add DaisyUI checkbox for repo list
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
name="favorites"
|
name="favorites"
|
||||||
|
class="checkbox"
|
||||||
:value="repo.id"
|
:value="repo.id"
|
||||||
:checked="favoriteCheckboxes.includes(repo.id)"
|
:checked="favoriteCheckboxes.includes(repo.id)"
|
||||||
@click="toggleCheckbox(repo)"
|
@click="toggleCheckbox(repo)"
|
||||||
@@ -54,6 +55,7 @@
|
|||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
name="favorites"
|
name="favorites"
|
||||||
|
class="checkbox"
|
||||||
:value="repo.id"
|
:value="repo.id"
|
||||||
:checked="favoriteCheckboxes.includes(repo.id)"
|
:checked="favoriteCheckboxes.includes(repo.id)"
|
||||||
@click="toggleCheckbox(repo)"
|
@click="toggleCheckbox(repo)"
|
||||||
|
|||||||
Reference in New Issue
Block a user