Commit b07ad242 authored by Martin Santangelo's avatar Martin Santangelo

(fix) channel screen show alert twice if view permission is removed

......@@ -259,7 +259,7 @@ class ChannelScreen extends Component {
* this is needed because in some cases the channel is shown using the owner of an activity
* while we refresh the channel's data from the server
*/
this.checkCanView(store.channel);
if (!this.checkCanView(store.channel)) return null;
const feed = store.feedStore;
const channel = store.channel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment