You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
editor updates
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user