mirror of
https://github.com/9001/copyparty.git
synced 2026-10-05 14:01:09 +01:00
shares: hide md-hist too
This commit is contained in:
@@ -3250,6 +3250,9 @@ class AuthSrv(object):
|
|||||||
# transplant shadowing into shares
|
# transplant shadowing into shares
|
||||||
for vn in shv.nodes.values():
|
for vn in shv.nodes.values():
|
||||||
svn, srem = vn.shr_src # type: ignore
|
svn, srem = vn.shr_src # type: ignore
|
||||||
|
if "show_hist" not in vn.flags:
|
||||||
|
zvn = VFS(self.log_func, "", "", "", AXS(), self.vf0())
|
||||||
|
vn.nodes[".hist"] = zvn
|
||||||
if srem:
|
if srem:
|
||||||
continue # free branch, safe
|
continue # free branch, safe
|
||||||
ap = svn.canonical(srem)
|
ap = svn.canonical(srem)
|
||||||
|
|||||||
Reference in New Issue
Block a user