Commit 9e53ec5ecd89e59ab9f6143a3ca54ece40569c36
fix: publish name without avatar link
mix irving committed on 1/29/2017, 1:43:42 AMParent: 15e33629596e95bfe027e81ecfa0c5107a1f1907
Files changed
modules_basic/avatar/edit.js | changed |
modules_basic/avatar/edit.js | ||
---|---|---|
@@ -194,9 +194,9 @@ | ||
194 | 194 … | api.message_confirm(msg, (err, data) => { |
195 | 195 … | if (err) return console.error(err) |
196 | 196 … | |
197 | 197 … | if (newName) name.original.set(newName) |
198 | - if (newAvatar) avatar.original.set(api.blob_url(newAvatar.link)) | |
198 … | + if (newAvatar.link) avatar.original.set(api.blob_url(newAvatar.link)) | |
199 | 199 … | |
200 | 200 … | clearNewSelections() |
201 | 201 … | |
202 | 202 … | // TODO - update aliases displayed |
Built with git-ssb-web