Commit 165f298ed05493f7f1381ef269c0eca496e4679b
PARTIAL FIX - title on userShow page
mix irving committed on 8/16/2017, 11:16:06 AMParent: 4b1c31ae7dd3ae3fce434f77355fd0bb0ecbbbbd
Files changed
app/page/userShow.js | changed |
app/page/userShow.js | ||
---|---|---|
@@ -29,9 +29,9 @@ | ||
29 | 29 | function userShow (location) { |
30 | 30 | |
31 | 31 | const { feed } = location |
32 | 32 | const myId = api.keys.sync.id() |
33 | - var name = api.about.html.name(feed) | |
33 | + const name = api.about.obs.name(feed) | |
34 | 34 | |
35 | 35 | const strings = api.translations.sync.strings() |
36 | 36 | |
37 | 37 | const { followers } = api.contact.obs |
@@ -77,9 +77,9 @@ | ||
77 | 77 | ) |
78 | 78 | |
79 | 79 | const Link = api.app.html.link |
80 | 80 | |
81 | - return h('Page -userShow', {title: strings.userShow}, [ | |
81 | + return h('Page -userShow', {title: name}, [ | |
82 | 82 | h('div.container', [ |
83 | 83 | api.about.html.image(feed), |
84 | 84 | feed !== myId |
85 | 85 | ? h('div.friendship', [ |
Built with git-ssb-web