diff options
| -rw-r--r-- | modules/lists/lists.go | 6 | ||||
| -rw-r--r-- | modules/user/user.go | 2 |
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 |
