fix: move virtual files to end (close #3052)

pull/3099/head
Noah Hsu 2023-01-18 10:23:54 +08:00
parent be8a9c5f07
commit 99d7105357
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ func list(ctx context.Context, path string, refresh ...bool) ([]model.Obj, error
if whetherHide(user, meta, path) {
om.InitHideReg(meta.Hide)
}
objs := om.Merge(virtualFiles, _objs...)
objs := om.Merge(_objs, virtualFiles...)
return objs, nil
}