Commit ff6e4fcbd2dfe0555d24afd3af1349fdbf313835
issue #70: strange bug happening when switching from channelSubscriptions to any other location.
andre alves garzia committed on 2/5/2018, 7:12:51 PMParent: e0d107ad69994e3ff7d0afbd9e1e9e5c94f195f8
Files changed
app/html/channelCard.js | changed |
channel/obs.js | changed |
app/html/channelCard.js | ||
---|---|---|
@@ -1,6 +1,6 @@ | ||
1 | 1 | const nest = require('depnest') |
2 | -const { h, when, Value } = require('mutant') | |
2 | +const { h, when } = require('mutant') | |
3 | 3 | |
4 | 4 | |
5 | 5 | exports.gives = nest('app.html.channelCard') |
6 | 6 | |
@@ -21,14 +21,10 @@ | ||
21 | 21 | const myId = api.keys.sync.id() |
22 | 22 | const { subscribe, unsubscribe } = api.channel.async |
23 | 23 | const { isSubscribedTo } = api.channel.obs |
24 | 24 | const youSubscribe = isSubscribedTo(channel, myId) |
25 | - | |
26 | - console.log("channel card for", channel) | |
27 | - | |
28 | 25 | |
29 | 26 | const goToChannel = () => { |
30 | - | |
31 | 27 | api.history.sync.push({ page: 'channelShow', channel: channel }) |
32 | 28 | } |
33 | 29 | |
34 | 30 | return h('ChannelCard', [ |
Built with git-ssb-web