git ssb

16+

Dominic / patchbay



Tree: d7f7025973a74edf124dc7a5e5cf20aa2a013e9b

Files: d7f7025973a74edf124dc7a5e5cf20aa2a013e9b / message / html / meta / unread.js

433 bytesRaw
1const nest = require('depnest')
2const { h } = require('mutant')
3
4exports.gives = nest('message.html.meta')
5
6exports.needs = nest({
7 'about.obs.name': 'first',
8 'message.obs.likes': 'first'
9})
10
11exports.create = (api) => {
12 return nest('message.html.meta', unread)
13
14 // UnreadFeature (search codebase for this if extracting)
15 function unread (msg) {
16 return h('i.unread.fa.fa-star', {
17 title: 'A new message'
18 })
19 }
20}
21

Built with git-ssb-web