Browse Source

#1821

fix bug
tags/v1.22.4.2^2
chenyifan01 3 years ago
parent
commit
a35bb8ff8b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/templates/helper.go

+ 2
- 2
modules/templates/helper.go View File

@@ -325,6 +325,8 @@ func NewFuncMap() []template.FuncMap {
"DatasetPathJoin": func(arr []string, index int, seq string) string {
return strings.Join(arr[1:index+1], seq)
},
"GetRefType": GetRefType,
"GetRefName": GetRefName,
}}
}

@@ -435,8 +437,6 @@ func NewTextFuncMap() []texttmpl.FuncMap {
}
return float32(n) * 100 / float32(sum)
},
"GetRefType": GetRefType,
"GetRefName": GetRefName,
}}
}



Loading…
Cancel
Save