From f8b516671c8a45fb1453fd20d42d692f8040d7a5 Mon Sep 17 00:00:00 2001 From: cel Date: Mon, 15 May 2017 13:42:17 -1000 Subject: Handle description better on the about page --- lib/about.js | 6 +++--- 1 file 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 -- cgit v1.2.3