Commit eab27f622457908e54a6aae69afd87d09e3c52d5
fix name assignent displays
Matt McKegg committed on 3/18/2017, 6:00:32 AMParent: ca2f1cdb9f35a2cf90f43e41e0a9670809627406
Files changed
modules/profile/html/person.js | changed |
modules/profile/html/person.js | ||
---|---|---|
@@ -13,10 +13,10 @@ | ||
13 | 13 | return nest({ |
14 | 14 | 'profile.html': {person} |
15 | 15 | }) |
16 | 16 | |
17 | - function person (id) { | |
17 | + function person (id, altName) { | |
18 | 18 | return h('a ProfileLink', {href: id, title: id}, [ |
19 | - api.about.obs.name(id) | |
19 | + altName || api.about.obs.name(id) | |
20 | 20 | ]) |
21 | 21 | } |
22 | 22 | } |
Built with git-ssb-web