Debug
parent
fbc77679a9
commit
20358b29b8
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue