Introduce fixes and more rigorous tests for 'Show on a map' feature (#26803)

This change introduces a fix for the PR #26214 to set the UserLocationMapURL correctly.
This commit is contained in:
Panagiotis "Ivory" Vasilopoulos authored and GitHub committed 2023-09-29 14:57:06 +00:00
1 parent c3b7231966
commit 65e09a303e
2 files changed
+1 -1

No files matched your search

-1
View File
@@ -52,7 +52,6 @@ func userProfile(ctx *context.Context) {
ctx.Data["Title"] = ctx.ContextUser.DisplayName()
ctx.Data["PageIsUserProfile"] = true
ctx.Data["UserLocationMapURL"] = setting.Service.UserLocationMapURL
// prepare heatmap data
if setting.Service.EnableUserHeatmap {