aboutsummaryrefslogtreecommitdiff
path: root/modules/lists
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lists')
-rw-r--r--modules/lists/lists.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/lists/lists.go b/modules/lists/lists.go
index 85e6ce5..ec29ea8 100644
--- a/modules/lists/lists.go
+++ b/modules/lists/lists.go
@@ -159,7 +159,7 @@ func (m *Module) FromID(id int) (*List, error) {
159 return lists[0], nil 159 return lists[0], nil
160} 160}
161 161
162func listsToCards(lists []*List) []frontend.Card { 162func ListsToCards(lists []*List) []frontend.Card {
163 var cards []frontend.Card 163 var cards []frontend.Card
164 164
165 for _, list := range lists { 165 for _, list := range lists {
@@ -200,7 +200,7 @@ func (m *Module) ProvideDashboardData(user *charakterin.User) []grilist.Dashboar
200 200
201 categories = append(categories, grilist.DashboardCategory{ 201 categories = append(categories, grilist.DashboardCategory{
202 Title: "Neueste Listen", 202 Title: "Neueste Listen",
203 Cards: listsToCards(lists), 203 Cards: ListsToCards(lists),
204 }) 204 })
205 205
206 if user == nil { 206 if user == nil {
@@ -216,7 +216,7 @@ func (m *Module) ProvideDashboardData(user *charakterin.User) []grilist.Dashboar
216 216
217 categories = append(categories, grilist.DashboardCategory{ 217 categories = append(categories, grilist.DashboardCategory{
218 Title: "Meine Listen", 218 Title: "Meine Listen",
219 Cards: listsToCards(lists), 219 Cards: ListsToCards(lists),
220 }) 220 })
221 221
222 return categories 222 return categories