mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-20 20:54:21 -04:00
Fix broken Activities link in team dashboard (#17255)
Remove '/' suffix from organization dashboard link Fixes #17250
This commit is contained in:
parent
f0bd1e9896
commit
29acb3213b
@ -300,7 +300,7 @@ func (u *User) CanImportLocal() bool {
|
|||||||
// DashboardLink returns the user dashboard page link.
|
// DashboardLink returns the user dashboard page link.
|
||||||
func (u *User) DashboardLink() string {
|
func (u *User) DashboardLink() string {
|
||||||
if u.IsOrganization() {
|
if u.IsOrganization() {
|
||||||
return u.OrganisationLink() + "/dashboard/"
|
return u.OrganisationLink() + "/dashboard"
|
||||||
}
|
}
|
||||||
return setting.AppSubURL + "/"
|
return setting.AppSubURL + "/"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user