fix: don't allow sharing with recipient just shared with

This commit is contained in:
jelveh 2024-11-14 15:38:26 -08:00
parent 085d808817
commit d0f16c8105

View File

@ -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')