How about actually use the goal name?

This commit is contained in:
Sam Fredrickson 2024-03-19 21:55:27 -07:00
parent 36b6504a38
commit 8b8307cc57

View File

@ -56,7 +56,7 @@ func New(cfg config.Data) Model {
projectionRows[0][0] = "Starting"
projectionRows[1][0] = "CDPR"
for i := range math.Goals {
projectionRows[i+2][0] = fmt.Sprintf("$%.0f", math.Goals[i].Value)
projectionRows[i+2][0] = math.Goals[i].Name
}
projections := table.New(
table.WithColumns(projectionCols),