editor updates

This commit is contained in:
Henrique Dias
2015-09-15 19:26:18 +01:00
parent f931bb3ed0
commit e045d76bcd
8 changed files with 206 additions and 98 deletions

View File

@@ -56,7 +56,7 @@ func rawToPretty(config interface{}, master string, parent string) interface{} {
var stringsNames []string
for index, element := range config.(map[string]interface{}) {
if utils.IsMap(element) {
if utils.IsMap(element) || utils.IsSlice(element) {
mapsNames = append(mapsNames, index)
} else {
stringsNames = append(stringsNames, index)