mirror of
https://github.com/miniflux/v2.git
synced 2025-07-02 16:38:37 +00:00
Do not show save link if no integration is configured
This commit is contained in:
parent
b166ceaea7
commit
31da4db14f
20 changed files with 133 additions and 100 deletions
|
@ -58,6 +58,7 @@ func (c *Controller) ShowUnreadPage(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("unread"))
|
||||
html.OK(w, view.Render("unread_entries"))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue