Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
396
Merge Requests
52
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Compare Revisions
51193ccfac7d0b41cecb9af0430696620b7f4d4f...56564e7b478d5a93c915b645bfb3b4359a353999
Source
56564e7b478d5a93c915b645bfb3b4359a353999
...
Target
51193ccfac7d0b41cecb9af0430696620b7f4d4f
Compare
Commits (2)
Pro activity feeds tweaks
· f91c12f8
Emiliano Balbuena
authored
41 minutes ago
f91c12f8
Merge branch 'goal/pro-activities-feed' into 'master'
· 56564e7b
Mark Harding
authored
41 minutes ago
Pro activity feeds tweaks See merge request
!673
56564e7b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
src/app/modules/pro/channel/channel.service.ts
View file @
56564e7b
...
...
@@ -157,7 +157,7 @@ export class ProChannelService implements OnDestroy {
throw
new
Error
(
'
No channel
'
);
}
const
endpoint
=
`api/v2/pro/content/
${
this
.
currentChannel
.
guid
}
/all
/top
`
;
const
endpoint
=
`api/v2/pro/content/
${
this
.
currentChannel
.
guid
}
/all`
;
const
qs
=
{
limit
:
params
.
limit
||
24
,
from_timestamp
:
params
.
offset
||
''
,
...
...
This diff is collapsed.
src/app/modules/pro/channel/list/list.component.ts
View file @
56564e7b
...
...
@@ -34,8 +34,6 @@ export class ProChannelListComponent implements OnInit, OnDestroy {
entities
:
any
[]
=
[];
algorithm
:
string
;
query
:
string
;
period
:
string
;
...
...
@@ -97,7 +95,7 @@ export class ProChannelListComponent implements OnInit, OnDestroy {
default
:
throw
new
Error
(
'
Unknown type
'
);
}
this
.
algorithm
=
params
[
'
algorithm
'
]
||
'
top
'
;
this
.
query
=
params
[
'
query
'
]
||
''
;
this
.
period
=
params
[
'
period
'
]
||
''
;
this
.
selectedHashtag
=
params
[
'
hashtag
'
]
||
'
all
'
;
...
...
@@ -149,7 +147,7 @@ export class ProChannelListComponent implements OnInit, OnDestroy {
params
.
sync
=
1
;
}
let
url
=
`api/v2/pro/content/
${
this
.
channelService
.
currentChannel
.
guid
}
/
${
this
.
type
}
/
${
this
.
algorithm
}
`
;
let
url
=
`api/v2/pro/content/
${
this
.
channelService
.
currentChannel
.
guid
}
/
${
this
.
type
}
`
;
try
{
this
.
feedsService
...
...
This diff is collapsed.