Skip to content

Commit 27cc07e

Browse files
committed
fix: files shared array in notification
1 parent 89aab03 commit 27cc07e

File tree

1 file changed

+2
-2
lines changed
  • src/backend/src/structured/sequence

1 file changed

+2
-2
lines changed

src/backend/src/structured/sequence/share.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ module.exports = new Sequence([
506506

507507
const files = []; {
508508
for ( const item of shares_work.list() ) {
509-
if ( item.type !== 'file' ) continue;
509+
if ( item.thing.$ !== 'fs-share' ) continue;
510510
files.push(
511511
await item.node.getSafeEntry(),
512512
);
@@ -515,7 +515,7 @@ module.exports = new Sequence([
515515

516516
const apps = []; {
517517
for ( const item of shares_work.list() ) {
518-
if ( item.type !== 'app' ) continue;
518+
if ( item.thing.$ !== 'app' ) continue;
519519
// TODO: is there a general way to create a
520520
// client-safe app right now without
521521
// going through entity storage?

0 commit comments

Comments
 (0)