refactor v-bind in unrelated classes

This commit is contained in:
Rene Fischer 2020-08-22 22:26:07 +02:00
parent 185238a18f
commit 75daa736e2
No known key found for this signature in database
GPG key ID: 5D8E12AC54D3C1B5
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
<v-list-item-title v-text="deck.name"></v-list-item-title>
</v-list-item-content>
<v-list-item-icon
v-bind:class="{ hidden: numberOfSelectedDecks===0, visible: numberOfSelectedDecks>0 }"
:class="{ hidden: numberOfSelectedDecks===0, visible: numberOfSelectedDecks>0 }"
>
<v-icon v-if="deck.selected">mdi-check-box-outline</v-icon>
<v-icon v-else>mdi-checkbox-blank-outline</v-icon>

View file

@ -1,6 +1,6 @@
<template>
<div class="deckselection">
<DeckSelection v-bind:decks="decks" v-bind:numberOfSelectedDecks="numberOfSelectedDecks"></DeckSelection>
<DeckSelection :decks="decks" :numberOfSelectedDecks="numberOfSelectedDecks"></DeckSelection>
</div>
</template>