summaryrefslogtreecommitdiff
path: root/pages/pages.templ
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2024-10-17 17:40:49 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2024-10-17 17:40:49 +0200
commit650053446d18424500ae6330b5ad0da81fa86373 (patch)
tree248fc9099a3acb7308621af6fba90dea1d99b852 /pages/pages.templ
parente6e3f258c519fdef01d1654a50b15335b57c4153 (diff)
downloadgosten-650053446d18424500ae6330b5ad0da81fa86373.tar.gz
gosten-650053446d18424500ae6330b5ad0da81fa86373.tar.bz2
gosten-650053446d18424500ae6330b5ad0da81fa86373.zip
SQL: Fetch * instead of specific columns for simplicity
Diffstat (limited to '')
-rw-r--r--pages/pages.templ4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/pages.templ b/pages/pages.templ
index b9b7489..d2bfad2 100644
--- a/pages/pages.templ
+++ b/pages/pages.templ
@@ -21,7 +21,7 @@ templ index(user string) {
}
}
-templ recur(rows []model.GetRecurExpensesRow) {
+templ recur(rows []model.RecurExpense) {
@content() {
<ul class="list-group">
for _, r := range rows {
@@ -33,7 +33,7 @@ templ recur(rows []model.GetRecurExpensesRow) {
}
}
-templ categories(rows []model.GetCategoriesOrderedRow) {
+templ categories(rows []model.Category) {
@content() {
<ul class="list-group">
for _, r := range rows {