aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-10-09 13:59:09 (UTC)
committerjan <jan@ruken.pw>2016-10-09 13:59:09 (UTC)
commit494858f082dbaf2244c0bac8ea8de31a83e719a5 (patch)
tree7898cd9c388c7437285c6df508097dd724407d10 /modules
parentacd30d1105369347ee8c837c586b8c5f0b6cfcad (diff)
wir brauchen die grils bei diesen views nicht mehr.
Diffstat (limited to 'modules')
-rw-r--r--modules/lists/lists.go6
-rw-r--r--modules/user/user.go2
2 files changed, 1 insertions, 7 deletions
diff --git a/modules/lists/lists.go b/modules/lists/lists.go
index ee0eb68..007e927 100644
--- a/modules/lists/lists.go
+++ b/modules/lists/lists.go
@@ -235,12 +235,6 @@ func (m *Module) ProvideDashboardData(user *charakterin.User) []grilist.Dashboar
235 return categories 235 return categories
236 } 236 }
237 237
238 for _, list := range lists {
239 if err := m.getListGrils(list); err != nil {
240 log.Println(err)
241 }
242 }
243
244 categories = append(categories, grilist.DashboardCategory{ 238 categories = append(categories, grilist.DashboardCategory{
245 Title: "Neueste Listen", 239 Title: "Neueste Listen",
246 Cards: ListsToCards(lists), 240 Cards: ListsToCards(lists),
diff --git a/modules/user/user.go b/modules/user/user.go
index 92a04db..9a9a3b6 100644
--- a/modules/user/user.go
+++ b/modules/user/user.go
@@ -60,7 +60,7 @@ func (m *Module) viewUser(w http.ResponseWriter, r *http.Request, p httprouter.P
60 } 60 }
61 } 61 }
62 62
63 userLists := m.lists.GetUserLists(user, true) 63 userLists := m.lists.GetUserLists(user, false)
64 64
65 data := m.g.Renderer.DefaultData() 65 data := m.g.Renderer.DefaultData()
66 data["user"] = currentUser 66 data["user"] = currentUser