This commit is contained in:
2019-04-29 23:05:52 +00:00
parent 6ffbbc11de
commit 88776817cb
6 changed files with 2 additions and 38 deletions

View File

@@ -12,9 +12,6 @@ export default {
return store.state.localeText[key];
},
fetch(keys) {
/* eslint-disable-next-line */
console.log("LOCALE - TOP OF FETCH(KEYS)");
return new Promise(function fetchLocaleKeysFromServer(resolve) {
//, reject
//step 1: build an array of keys that we don't have already
@@ -39,11 +36,6 @@ export default {
_.forEach(response.data, function commitFetchedLTItemToStore(item) {
store.commit("addLocaleText", item);
});
/* eslint-disable-next-line */
console.log(
"LOCALE - DONE FETCH(KEYS) and stored about to call Resolve()..."
);
resolve();
});
});