mirror of
https://github.com/9001/copyparty.git
synced 2025-10-10 02:22:21 -06:00
hide new-share btn in shares
This commit is contained in:
parent
73ec2d296f
commit
c5f1229685
|
@ -15682,7 +15682,7 @@ var fileman = (function () {
|
|||
hdel = !(have_del && has(perms, 'delete')),
|
||||
hcut = !(have_mv && has(perms, 'move')),
|
||||
hpst = !(have_mv && has(perms, 'write')),
|
||||
hshr = !can_shr;
|
||||
hshr = !can_shr || !get_evpath().indexOf(have_shr);
|
||||
|
||||
if (!(enren || endel || encut || enpst))
|
||||
hren = hdel = hcut = hpst = true;
|
||||
|
|
Loading…
Reference in a new issue