diff --git a/pkg/interface/src/views/landscape/components/Home/GroupFeed.js b/pkg/interface/src/views/landscape/components/Home/GroupFeed.js index 05832f570..1a6901a54 100644 --- a/pkg/interface/src/views/landscape/components/Home/GroupFeed.js +++ b/pkg/interface/src/views/landscape/components/Home/GroupFeed.js @@ -41,7 +41,11 @@ export function GroupFeed(props) { position="relative" alignItems="center" overflow="hidden"> - + { + return bigInt(ind); + }); + + let node; + let graph = graphs[graphId]; + nodeIndex.forEach((i) => { + if (!graph) { + return null; + } + node = graph.get(i); + if (!node) { + return null; + } + graph = node.children; + }); + + let authorText = ''; + if (node) { + authorText = node.post.author; + } + return ( Group Feed Everyone can post - ) : ( + ) : ( !authorText ? null : ( <> Post by - {'TODO'} + {`~${authorText}`} - )} + ))} ); }