Separated full heart button into component.

This commit is contained in:
DebaucheryLibrarian
2021-03-21 03:46:59 +01:00
parent 348aa91832
commit 9ff70e5578
4 changed files with 109 additions and 96 deletions

View File

@@ -9,7 +9,7 @@
<Checkbox
:checked="stashedByIds.has(stash.id)"
class="menu-check"
@change="(checked) => checked ? $emit('stash', stash) : $emit('unstash', stash)"
@change="(checked) => checked ? $emit('stash', stash.id) : $emit('unstash', stash.id)"
/>{{ stash.name }}
</label>
</li>
@@ -28,10 +28,6 @@ export default {
Checkbox,
},
props: {
item: {
type: Object,
default: null,
},
stashedBy: {
type: Array,
default: () => [],