diff --git a/client/src/components/spells/add-spell-card.vue b/client/src/components/spells/add-spell-card.vue index 353bbc5..e260dcf 100644 --- a/client/src/components/spells/add-spell-card.vue +++ b/client/src/components/spells/add-spell-card.vue @@ -103,9 +103,9 @@ export default { }, created() { // Gets all relevant info for multiple selects - let fetchSchools = Schools.getSchools() - let fetchVariables = Variables.getVariables() - let fetchIngredients = Ingredients.getIngredients() + let fetchSchools = Schools.getAll() + let fetchVariables = Variables.getAll() + let fetchIngredients = Ingredients.getAll() Promise.all([fetchSchools, fetchVariables, fetchIngredients]) .then(v => { diff --git a/client/src/components/spells/edit-spell-card.vue b/client/src/components/spells/edit-spell-card.vue index 0203b9e..9806c20 100644 --- a/client/src/components/spells/edit-spell-card.vue +++ b/client/src/components/spells/edit-spell-card.vue @@ -132,9 +132,9 @@ export default { }, created() { // Gets all relevant info for multiple selects - let fetchSchools = Schools.getSchools() - let fetchVariables = Variables.getVariables() - let fetchIngredients = Ingredients.getIngredients() + let fetchSchools = Schools.getAll() + let fetchVariables = Variables.getAll() + let fetchIngredients = Ingredients.getAll() Promise.all([fetchSchools, fetchVariables, fetchIngredients]) .then(v => {