mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-23 13:46:11 +00:00
fix: files shared array in notification
This commit is contained in:
@@ -506,7 +506,7 @@ module.exports = new Sequence([
|
||||
|
||||
const files = []; {
|
||||
for ( const item of shares_work.list() ) {
|
||||
if ( item.type !== 'file' ) continue;
|
||||
if ( item.thing.$ !== 'fs-share' ) continue;
|
||||
files.push(
|
||||
await item.node.getSafeEntry(),
|
||||
);
|
||||
@@ -515,7 +515,7 @@ module.exports = new Sequence([
|
||||
|
||||
const apps = []; {
|
||||
for ( const item of shares_work.list() ) {
|
||||
if ( item.type !== 'app' ) continue;
|
||||
if ( item.thing.$ !== 'app' ) continue;
|
||||
// TODO: is there a general way to create a
|
||||
// client-safe app right now without
|
||||
// going through entity storage?
|
||||
|
||||
Reference in New Issue
Block a user