mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Refactor heatmap to vue component (#5401)
This commit is contained in:
@@ -193,9 +193,6 @@ func NewFuncMap() []template.FuncMap {
|
||||
"DefaultTheme": func() string {
|
||||
return setting.UI.DefaultTheme
|
||||
},
|
||||
"HeatmapColorRange": func() string {
|
||||
return setting.UI.HeatmapColorRange
|
||||
},
|
||||
"dict": func(values ...interface{}) (map[string]interface{}, error) {
|
||||
if len(values) == 0 {
|
||||
return nil, errors.New("invalid dict call")
|
||||
|
Reference in New Issue
Block a user