aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/entry_unread.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/entry_unread.go')
-rw-r--r--ui/entry_unread.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/entry_unread.go b/ui/entry_unread.go
index d103e6d..8ccdab5 100644
--- a/ui/entry_unread.go
+++ b/ui/entry_unread.go
@@ -87,6 +87,7 @@ func (c *Controller) ShowUnreadEntry(w http.ResponseWriter, r *http.Request) {
view.Set("menu", "unread")
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("entry"))
}