Skip to content

Commit

Permalink
refactor: remove redundant species data preparation from renderSettin…
Browse files Browse the repository at this point in the history
…gsContent
  • Loading branch information
tphakala committed Jan 11, 2025
1 parent 1dc4d2c commit db524fb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions internal/httpcontroller/template_renderers.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,6 @@ func (s *Server) renderSettingsContent(c echo.Context) (template.HTML, error) {
"TemplateName": templateName,
}

// Add prepared species data for specific settings pages
if templateName == "detectionfiltersSettings" ||
templateName == "speciesSettings" {
data["PreparedSpecies"] = s.prepareSpeciesData()
}

// DEBUG Log the species settings
//log.Printf("Species Settings: %+v", s.Settings.Realtime.Species)

Expand Down

0 comments on commit db524fb

Please sign in to comment.