diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-05-15 13:42:17 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-05-15 13:42:27 -1000 |
commit | f8b516671c8a45fb1453fd20d42d692f8040d7a5 (patch) | |
tree | 073a21909522a769edb685217fc5e2e683796566 | |
parent | e0f8badf71a127ef2f66025af6c464abe512e8a4 (diff) | |
download | patchfoo-f8b516671c8a45fb1453fd20d42d692f8040d7a5.tar.gz patchfoo-f8b516671c8a45fb1453fd20d42d692f8040d7a5.zip |
Handle description better on the about page
-rw-r--r-- | lib/about.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/about.js b/lib/about.js index fde5e04..1d2c0ea 100644 --- a/lib/about.js +++ b/lib/about.js @@ -20,8 +20,8 @@ About.prototype.createAboutOpStream = function (id) { && key !== 'type' && key !== 'recps' }).map(function (key) { - var value = c[key] - if (u.isRef(value)) value = {link: value} + var value = u.linkDest(c[key]) + // if (u.isRef(value)) value = {link: value} return { id: msg.key, author: msg.value.author, @@ -47,7 +47,7 @@ About.prototype.createAboutStreams = function (id) { scalars: pull( ops, pull.unique(function (op) { - return op.author + '-' + op.prop + '-' + (op.value ? op.value.link : '') + return op.author + '-' + op.prop + '-' }), pull.filter(function (op) { return !op.remove |