tweak: enable sharing

This commit is contained in:
jelveh 2024-11-13 13:49:17 -08:00
parent 27cc07e985
commit 622205ae51

View File

@ -782,7 +782,7 @@ function UIItem(options){
// ------------------------------------------- // -------------------------------------------
menu_items.push('-'); menu_items.push('-');
} }
if(!are_trashed && (window.user.feature_flags?.share !== false)){ if(!are_trashed){
menu_items.push({ menu_items.push({
html: 'Share With…', html: 'Share With…',
onClick: async function(){ onClick: async function(){
@ -1086,7 +1086,7 @@ function UIItem(options){
// ------------------------------------------- // -------------------------------------------
// Share With… // Share With…
// ------------------------------------------- // -------------------------------------------
if(!is_trashed && !is_trash && (window.user.feature_flags?.share !== false)){ if(!is_trashed && !is_trash){
menu_items.push({ menu_items.push({
html: 'Share With…', html: 'Share With…',
onClick: async function(){ onClick: async function(){