fix: update Open button URL from /prompts to /trackers
This commit is contained in:
parent
17bfdf8f83
commit
0e5c60dab6
|
|
@ -121,7 +121,7 @@ func BuildDossierSections(targetID, targetHex string, target *lib.Dossier, p *li
|
|||
|
||||
switch cfg.ID {
|
||||
case "checkin":
|
||||
section.ActionURL = fmt.Sprintf("/dossier/%s/prompts", targetHex)
|
||||
section.ActionURL = fmt.Sprintf("/dossier/%s/trackers", targetHex)
|
||||
section.ActionLabel = T("open")
|
||||
|
||||
// Count trackable categories
|
||||
|
|
@ -149,7 +149,7 @@ func BuildDossierSections(targetID, targetHex string, target *lib.Dossier, p *li
|
|||
// Show build profile prompt
|
||||
section.ShowBuildTracker = true
|
||||
section.Summary = T("checkin_build_profile")
|
||||
promptsURL := fmt.Sprintf("/dossier/%s/prompts", targetHex)
|
||||
promptsURL := fmt.Sprintf("/dossier/%s/trackers", targetHex)
|
||||
section.TrackerButtons = []TrackerButton{
|
||||
{Label: T("btn_vitals"), URL: promptsURL + "?add=vital"},
|
||||
{Label: T("btn_medications"), URL: promptsURL + "?add=medication"},
|
||||
|
|
|
|||
Loading…
Reference in New Issue