Skip to content

Commit 237270e

Browse files
silverwindlunny
authored andcommitted
Orgs: fix org page title when full name is not defined (#1495)
1 parent d409d3a commit 237270e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/user/home.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ func showOrgProfile(ctx *context.Context) {
377377
}
378378

379379
org := ctx.Org.Organization
380-
ctx.Data["Title"] = org.FullName
380+
ctx.Data["Title"] = org.DisplayName()
381381

382382
page := ctx.QueryInt("page")
383383
if page <= 0 {

0 commit comments

Comments
 (0)