git ssb

2+

mixmix / ticktack



Commit de37b65fbf601aba3ebadaa0e9d9aeeb3576322c

own profile editing only atm

mix irving committed on 8/27/2017, 11:28:56 PM
Parent: cf39375daad7bbcd8a42807ea1459802a41ee050

Files changed

app/page/userShow.jschanged
app/page/userShow.jsView
@@ -78,9 +78,11 @@
7878 return h('Page -userShow', {title: name}, [
7979 h('div.container', [
8080 h('header', [
8181 h('h1', name),
82- Link({ page: 'userEdit', feed }, h('i.fa.fa-pencil'))
82+ feed === myId // Only expose own profile editing right now
83+ ? Link({ page: 'userEdit', feed }, h('i.fa.fa-pencil'))
84+ : ''
8385 ]),
8486 api.about.html.image(feed),
8587 feed !== myId
8688 ? h('div.friendship', [

Built with git-ssb-web