mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-24 15:20:21 +08:00
fix: files shared array in notification
This commit is contained in:
parent
89aab03905
commit
27cc07e985
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user