1
0
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:
John Cleaver 2018-04-27 21:50:05 -04:00
parent 010af5ea49
commit a5b2112712

View File

@ -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: {