Skip to content

Commit

Permalink
templates: make admin templates actually load DEFAULT_DIR first
Browse files Browse the repository at this point in the history
  • Loading branch information
Wessie committed Apr 26, 2024
1 parent b98c7b8 commit 6aba24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ func noExt(s string) string {
return strings.TrimSuffix(filepath.Base(s), filepath.Ext(s))
}

func (ls loadState) loadThemes(themes Themes, defaultDir string, dirs []string) error {
func (ls *loadState) loadThemes(themes Themes, defaultDir string, dirs []string) error {
const op errors.Op = "templates/loadState.loadThemes"
var defaults loadStateDefault
var err error
Expand Down

0 comments on commit 6aba24c

Please sign in to comment.