Hide private lists from prefs manage page. Closes #1200.
This commit is contained in:
parent
215aae5366
commit
dda7d44601
1 changed files with 1 additions and 5 deletions
|
@ -227,11 +227,7 @@ func handleSubscriptionPage(c echo.Context) error {
|
|||
out.Subscriptions = make([]models.Subscription, 0, len(subs))
|
||||
for _, s := range subs {
|
||||
if s.Type == models.ListTypePrivate {
|
||||
if s.SubscriptionStatus.IsZero() {
|
||||
continue
|
||||
}
|
||||
|
||||
s.Name = app.i18n.T("public.subPrivateList")
|
||||
continue
|
||||
}
|
||||
|
||||
out.Subscriptions = append(out.Subscriptions, s)
|
||||
|
|
Loading…
Reference in a new issue