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)
(feat): hide text only posts
· c99df509
Marcelo Rivera
authored
Oct 15, 2019
and
Mark Harding
committed
Oct 15, 2019
c99df509
Merge branch 'fix/hide-text-posts-933' into 'master'
· 68a83066
Mark Harding
authored
Oct 15, 2019
(feat): hide text only posts Closes
engine#933
See merge request
!585
68a83066
Hide whitespace changes
Inline
Side-by-side
src/app/modules/pro/channel/list/list.component.ts
View file @
68a83066
...
...
@@ -16,6 +16,7 @@ import {
}
from
'
../channel.service
'
;
import
{
OverlayModalService
}
from
'
../../../../services/ux/overlay-modal
'
;
import
{
MindsTitle
}
from
'
../../../../services/ux/title
'
;
import
{
filter
}
from
'
rxjs/operators
'
;
@
Component
({
selector
:
'
m-pro--channel-list
'
,
...
...
@@ -166,7 +167,9 @@ export class ProChannelListComponent implements OnInit, OnDestroy {
}
get
entities
$
()
{
return
this
.
feedsService
.
feed
;
return
this
.
feedsService
.
feed
.
pipe
(
filter
((
entity
:
any
)
=>
!!
entity
.
thumbnail_src
)
);
}
get
hasMore
$
()
{
...
...