mirror of
https://github.com/kihashi/stardew_community_checklist.git
synced 2025-10-19 08:03:17 +00:00
Add a function to get an item by id.
This commit is contained in:
parent
dc5f0bdd6e
commit
b7f39e240e
@ -27,6 +27,9 @@ export default new Vuex.Store({
|
||||
},
|
||||
GetBundleById: (state) => (bundleId) => {
|
||||
return getById(state.bundles, bundleId)
|
||||
},
|
||||
GetItemById: (state) => (itemId) => {
|
||||
return getById(state.items, itemId)
|
||||
}
|
||||
},
|
||||
mutations: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user