git ssb

0+

cel / ssb-issues



Commit 5233d165cc9dd6811f63268db441635bffdb746f

Improve issue text fallback

cel committed on 11/4/2016, 11:59:10 PM
Parent: 62c9984626da880fc36f0fdcf4bac4d7d3f2d3b1

Files changed

index.jschanged
index.jsView
@@ -69,9 +69,9 @@
6969 issue.msg = msg
7070 issue.author = msg.value.author
7171 var c = msg.value.content
7272 issue.project = c.project
73- issue.text = String(c.text)
73 + issue.text = c.text || c.title || JSON.stringify(msg, null, 2)
7474 issue.created_at = issue.updated_at = msg.value.timestamp
7575 if (c.project)
7676 ssbGet(c.project, gotProjectMsg)
7777 else

Built with git-ssb-web