Skip to content

Commit 29acb32

Browse files
authored
Fix broken Activities link in team dashboard (#17255)
Remove '/' suffix from organization dashboard link Fixes #17250
1 parent f0bd1e9 commit 29acb32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/user.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ func (u *User) CanImportLocal() bool {
300300
// DashboardLink returns the user dashboard page link.
301301
func (u *User) DashboardLink() string {
302302
if u.IsOrganization() {
303-
return u.OrganisationLink() + "/dashboard/"
303+
return u.OrganisationLink() + "/dashboard"
304304
}
305305
return setting.AppSubURL + "/"
306306
}

0 commit comments

Comments
 (0)