Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (2)
[Sprint/OldfashionedOwl] Subscribers list fixes
· a55d158b
Juan Manuel Solaro
authored
Oct 08, 2019
and
Brian Hatchet
committed
Oct 08, 2019
a55d158b
Merge branch 'fix/subscribers-list' into 'release/3.11.0'
· 54ed7611
Brian Hatchet
authored
Oct 08, 2019
[Sprint/OldfashionedOwl] Subscribers list fixes See merge request
!381
54ed7611
Hide whitespace changes
Inline
Side-by-side
src/channel/subscribers/ChannelSubscribersStore.js
View file @
54ed7611
...
...
@@ -5,6 +5,7 @@ import {
import
OffsetListStore
from
'
../../common/stores/OffsetListStore
'
;
import
channelService
from
'
../ChannelService
'
;
import
UserModel
from
'
../UserModel
'
;
/**
* Subscribers Store
...
...
@@ -38,6 +39,7 @@ class ChannelSubscribersStore {
return
channelService
.
getSubscribers
(
this
.
guid
,
this
.
filter
,
this
.
list
.
offset
)
.
then
(
feed
=>
{
feed
.
entities
=
UserModel
.
createMany
(
feed
.
entities
);
this
.
list
.
setList
(
feed
);
})
.
finally
(()
=>
{
...
...
src/discovery/DiscoveryUser.js
View file @
54ed7611
...
...
@@ -39,7 +39,7 @@ export default class DiscoveryUser extends Component {
_navToChannel
=
()
=>
{
Keyboard
.
dismiss
();
if
(
this
.
props
.
navigation
)
{
this
.
props
.
navigation
.
push
(
'
Channel
'
,
{
entity
:
this
.
props
.
entity
.
item
});
this
.
props
.
navigation
.
push
(
'
Channel
'
,
{
guid
:
this
.
props
.
entity
.
item
.
guid
});
}
}
...
...