1
0
mirror of https://github.com/kihashi/stardew_community_checklist.git synced 2025-10-19 08:03:17 +00:00

Added a data save whenever user_data is edited.

This commit is contained in:
John Cleaver 2016-04-12 22:11:15 -04:00
parent 81227ce0c8
commit 7beeae1496

View File

@ -89,6 +89,7 @@ var v = new Vue({
else{
this.addItemToBundle(bundleId, itemId, itemPosition);
}
localStorage.setItem('user_data', this.user_data_serialized);
},
isItemInBundle: function(bundleId, itemId, itemPosition){
if(this.user_data[bundleId].filter(function(element){