This commit is contained in:
2019-02-01 11:08:59 +01:00
parent fbc77679a9
commit 20358b29b8
+2 -1
View File
@@ -90,7 +90,7 @@ func retrieveFeeds(ctx *context.Context, options models.GetFeedsOptions) {
}
// Dashboard render the dashborad page
func Dashboard(ctx *context.Context) { // showing dashboard see routes.go:417
func Dashboard(ctx *context.Context) { // showing dashboard see routes.go:417
ctxUser := getDashboardContextUser(ctx)
if ctx.Written() {
return
@@ -132,6 +132,7 @@ func Dashboard(ctx *context.Context) { // showing dashboard see routes.go:417
}
ctx.Data["MirrorCount"] = len(mirrors)
ctx.Data["Mirrors"] = mirrors
ctx.Data["Repos"] = mirrors
retrieveFeeds(ctx, models.GetFeedsOptions{
RequestedUser: ctxUser,