Skip to content

Commit

Permalink
Store new daily data in chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
jayehernandez committed Dec 12, 2020
1 parent ce3d3e2 commit 54eabb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export const actions = {
toggledDailyData.translations[oldLanguage] = thisTranslation;

dispatch('saveDailyData', toggledDailyData);
chrome.storage.sync.set({ dailyData: toggledDailyData });
commit('setLoading', false);
},
};
Expand Down

0 comments on commit 54eabb6

Please sign in to comment.