mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-24 15:20:21 +08:00
fix: don't allow sharing with recipient just shared with
This commit is contained in:
parent
085d808817
commit
d0f16c8105
@ -299,7 +299,7 @@ async function UIWindowShare(items, recipient){
|
|||||||
|
|
||||||
// append recipient to list
|
// append recipient to list
|
||||||
let perm_list = '';
|
let perm_list = '';
|
||||||
perm_list += `<div data-permission="${perm_id}" class="item-perm-recipient-card item-prop-perm-entry" style="margin-bottom:5px; margin-top:5px;">`
|
perm_list += `<div data-permission="${perm_id}" class="item-perm-recipient-card item-prop-perm-entry" style="margin-bottom:5px; margin-top:5px;" data-recipient-username="${recipient_username}" data-perm-email="${recipient_email}">`
|
||||||
// viewer/editor
|
// viewer/editor
|
||||||
perm_list += `<div style="float:left;">`;
|
perm_list += `<div style="float:left;">`;
|
||||||
if(access_level === 'read')
|
if(access_level === 'read')
|
||||||
|
Loading…
Reference in New Issue
Block a user