diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-04-29 17:43:40 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-04-29 17:43:40 -0700 |
commit | 31da4db14fdda364b1c72460a81e3ccce67ff7e8 (patch) | |
tree | 911808c77accb72d99ca4328b8d0907d0a36fdd4 /ui/bookmark_entries.go | |
parent | b166ceaea72dc6db77467621ffc270fbdccb6566 (diff) |
Do not show save link if no integration is configured
Diffstat (limited to 'ui/bookmark_entries.go')
-rw-r--r-- | ui/bookmark_entries.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/bookmark_entries.go b/ui/bookmark_entries.go index c5f7de3..2dac892 100644 --- a/ui/bookmark_entries.go +++ b/ui/bookmark_entries.go @@ -56,6 +56,7 @@ func (c *Controller) ShowStarredPage(w http.ResponseWriter, r *http.Request) { view.Set("menu", "starred") 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("starred")) + html.OK(w, view.Render("bookmark_entries")) } |