diff options
author | 6543 <6543@obermui.de> | 2020-05-05 23:51:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-05 22:51:49 +0100 |
commit | a1f11a05e900f3d1130729b2095dbf1b3037658e (patch) | |
tree | f744bdc675bb34794147c95401d3b2753580b85b /routers/repo/blame.go | |
parent | d9de58beee300b77156057713e3c4d28176d9dc0 (diff) | |
download | gitea-a1f11a05e900f3d1130729b2095dbf1b3037658e.tar.gz gitea-a1f11a05e900f3d1130729b2095dbf1b3037658e.zip |
Load Repo Topics on blame view (#11307)
Fix #11280
Diffstat (limited to 'routers/repo/blame.go')
-rw-r--r-- | routers/repo/blame.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/routers/repo/blame.go b/routers/repo/blame.go index beed59ea97..00ef9a99ea 100644 --- a/routers/repo/blame.go +++ b/routers/repo/blame.go @@ -194,6 +194,12 @@ func RefBlame(ctx *context.Context) { commitNames[c.ID.String()] = c } + // Get Topics of this repo + renderRepoTopics(ctx) + if ctx.Written() { + return + } + renderBlame(ctx, blameParts, commitNames) ctx.HTML(200, tplBlame) |