mirror of
https://github.com/kihashi/stardew_community_checklist.git
synced 2025-10-19 08:03:17 +00:00
Add counts for bundles with count greater than one
This commit is contained in:
parent
010af5ea49
commit
a5b2112712
@ -4,7 +4,7 @@
|
||||
<span class="icon">
|
||||
<font-awesome-icon :icon="ItemInBundle ? InBundleIcon : NotInBundleIcon"/>
|
||||
</span>
|
||||
<span>{{bundleItem.bundle.name}}</span>
|
||||
<span>{{bundleItem.bundle.name}}{{numberInBundle}}</span>
|
||||
</a>
|
||||
</template>
|
||||
|
||||
@ -32,6 +32,9 @@ export default {
|
||||
},
|
||||
NotInBundleIcon () {
|
||||
return faSquare
|
||||
},
|
||||
numberInBundle () {
|
||||
return this.bundleItem.count > 1 ? ` (${this.bundleItem.count})` : ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user