diff --git a/routers/user/profile.go b/routers/user/profile.go index 062adf0f7..063b26914 100755 --- a/routers/user/profile.go +++ b/routers/user/profile.go @@ -179,6 +179,7 @@ func Profile(ctx *context.Context) { total = ctxUser.NumFollowing case "activity": typeQuery := ctx.Query("type") + ctx.Data["ActTabName"] = typeQuery onlyPerformedBy := true if typeQuery == "all" { onlyPerformedBy = false diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index bf5ed67d7..4b1619f0c 100755 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -118,9 +118,9 @@
{{end}}