fix: move virtual files to end (close #3052)
This commit is contained in:
parent
be8a9c5f07
commit
99d7105357
@ -37,7 +37,7 @@ func list(ctx context.Context, path string, refresh ...bool) ([]model.Obj, error
|
|||||||
if whetherHide(user, meta, path) {
|
if whetherHide(user, meta, path) {
|
||||||
om.InitHideReg(meta.Hide)
|
om.InitHideReg(meta.Hide)
|
||||||
}
|
}
|
||||||
objs := om.Merge(virtualFiles, _objs...)
|
objs := om.Merge(_objs, virtualFiles...)
|
||||||
return objs, nil
|
return objs, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user