From e700565d82dbb010dee3d3c7eb3a6afc9bb94af1 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 24 Nov 2018 13:38:44 +0100 Subject: [PATCH] Fixed trying to load tasks even when the user was not authenticated --- src/components/Home.vue | 4 +++- todo.md | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Home.vue b/src/components/Home.vue index b54a6d9d..909902ae 100644 --- a/src/components/Home.vue +++ b/src/components/Home.vue @@ -38,7 +38,9 @@ } }, created() { - this.loadPendingTasks() + if (auth.user.authenticated) { + this.loadPendingTasks() + } }, methods: { logout() { diff --git a/todo.md b/todo.md index dd2bd982..55e3996d 100644 --- a/todo.md +++ b/todo.md @@ -62,6 +62,7 @@ * [ ] Links an den Freigewordenen Platz Menüpunkte machen à la "Heute"/Morgen/Diese Woche etc. Da kommt dann alles rein was dann due ist. * [ ] Andere Icons? --> Freepikkram * [ ] Fertige Tasks schöner visualisieren + * [ ] Alles abgehakte ausblenden, mit btn zum wieder einblenden * [ ] Search everything * [ ] Lists