Refactor heatmap to vue component (#5401)

This commit is contained in:
Lauris BH authored and Jonas Franz committed 2018-11-27 10:36:54 +01:00
1 parent c03a9b3e42
commit e09fe48773
18 files changed
+258 -384

No files matched your search

-3
View File
@@ -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")