mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
tweak: enable sharing
This commit is contained in:
parent
27cc07e985
commit
622205ae51
@ -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(){
|
||||||
|
Loading…
Reference in New Issue
Block a user