git ssb

10+

Matt McKegg / patchwork



Commit 11e0945c3ff874c25317b05e6d93fb55f0bf52e4

show the "View full thread" even if all replies have been filtered by current view

Matt McKegg committed on 10/25/2017, 10:46:29 AM
Parent: 56b8551c26f79bf9916918f2d7cb50aa0f9e9734

Files changed

modules/feed/html/rollup.jschanged
modules/feed/html/rollup.jsView
@@ -223,14 +223,12 @@
223223 }
224224 }, [
225225 meta,
226226 renderedMessage,
227- when(replyElements.length, [
228- when(replies.length > replyElements.length || partial,
229- h('a.full', {href: item.key, anchor: replies[0] && replies[0].key}, [i18n('View full thread') + ' (', replies.length, ')'])
230- ),
231- h('div.replies', replyElements)
232- ])
227+ when(replies.length > replyElements.length || partial,
228+ h('a.full', {href: item.key, anchor: replies[0] && replies[0].key}, [i18n('View full thread') + ' (', replies.length, ')'])
229+ ),
230+ h('div.replies', replyElements)
233231 ])
234232 }
235233 })
236234

Built with git-ssb-web