diff --git a/src/components/LoginPage.vue b/src/components/LoginPage.vue index 39b1427..03875ae 100644 --- a/src/components/LoginPage.vue +++ b/src/components/LoginPage.vue @@ -1,19 +1,51 @@ + + - - \ No newline at end of file + \ No newline at end of file diff --git a/src/data.js b/src/data.js index 47e63f3..79cd232 100644 --- a/src/data.js +++ b/src/data.js @@ -294,5 +294,9 @@ export default { fixDates(lst, "ShoppingList"); return lst; + }, + async getPersonsInHome() { + const response = await fetch(BASE_URL + "/persons"); + return await response.json(); } } \ No newline at end of file