aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/history_entries.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/history_entries.go')
-rw-r--r--ui/history_entries.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/history_entries.go b/ui/history_entries.go
index e695ce3..9945500 100644
--- a/ui/history_entries.go
+++ b/ui/history_entries.go
@@ -54,6 +54,7 @@ func (c *Controller) ShowHistoryPage(w http.ResponseWriter, r *http.Request) {
view.Set("menu", "history")
view.Set("user", user)
view.Set("countUnread", c.store.CountUnreadEntries(user.ID))
+ view.Set("hasSaveEntry", c.store.HasSaveEntry(user.ID))
- html.OK(w, view.Render("history"))
+ html.OK(w, view.Render("history_entries"))
}