This commit is contained in:
2018-11-28 18:35:36 +00:00
parent 97fdab7a48
commit 5288c55d80
3 changed files with 48 additions and 16 deletions

View File

@@ -14,6 +14,7 @@ export default {
fetch(keys) {
return new Promise(function(resolve, reject) {
//step 1: build an array of keys that we don't have already
//Note: this will ensure only unique keys go into the store so it's safe to call this with dupes as can happen
var needIt = [];
for (var i = 0; i < keys.length; i++) {
if (!_.has(store.state.localeText, keys[i])) {