Skip to content

Commit

Permalink
feat(readSomethingNew): link to lists
Browse files Browse the repository at this point in the history
  • Loading branch information
TheExGenesis committed Mar 13, 2022
1 parent ccd97bf commit 9a0a09a
Showing 1 changed file with 30 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,35 @@ React.useEffect(() => {

return (
<div>
<Typography>You have {count['$/entity/feeds'].toString()} items in your feeds.</Typography>
<Typography>You have {count['$/entity/read_later'].toString()} items in your read later feed.</Typography>
<div>
<Typography style={{ display: 'inline-block' }}>
You have {count['$/entity/feeds'].toString()} items in your{' '}
</Typography>{' '}
<Typography
style={{ display: 'inline-block', fontWeight: 'bold', cursor: 'pointer' }}
onClick={() => window.wsnavigator('/feeds')}
>
feeds.
</Typography>
</div>
<div>
<Typography style={{ display: 'inline-block' }}>
You have {count['$/entity/read_later'].toString()} items in your
</Typography>{' '}
<Typography
style={{ display: 'inline-block', fontWeight: 'bold', cursor: 'pointer' }}
onClick={() =>
window.wsnavigator(
`/library/object?uid=${
window.unigraph.getNamespaceMap()['$/entity/read_later'].uid
}&viewer=${'dynamic-view-detailed'}&type=${
window.unigraph.getNamespaceMap()['$/entity/read_later'].uid['unigraph.id']
}`,
)
}
>
read later feed.
</Typography>
</div>
</div>
);

0 comments on commit 9a0a09a

Please sign in to comment.