Skip to content

Commit 6e0a08d

Browse files
authored
Fix broken Activities link in team dashboard (#17255) (#17258)
Remove '/' suffix from organization dashboard link Fixes #17250
1 parent 7b1153e commit 6e0a08d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ func (u *User) CanImportLocal() bool {
296296
// DashboardLink returns the user dashboard page link.
297297
func (u *User) DashboardLink() string {
298298
if u.IsOrganization() {
299-
return u.OrganisationLink() + "/dashboard/"
299+
return u.OrganisationLink() + "/dashboard"
300300
}
301301
return setting.AppSubURL + "/"
302302
}

0 commit comments

Comments
 (0)