Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
892
Issues
892
List
Boards
Labels
Service Desk
Milestones
Merge Requests
50
Merge Requests
50
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
704793e8
Commit
704793e8
authored
47 minutes ago
by
Ben Hayward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated to pull sidebar from v2 feeds endpoint
parent
9a219148
fix/boost-console-feed-1596
1 merge request
!501
[Sprint/LuckyLizard](fix) Boost console feed #1596
Pipeline
#78977531
passed with stages
in 47 minutes and 4 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
booster.component.spec.ts
...p/modules/boost/console/booster/booster.component.spec.ts
+1
-1
booster.component.ts
src/app/modules/boost/console/booster/booster.component.ts
+4
-4
No files found.
src/app/modules/boost/console/booster/booster.component.spec.ts
View file @
704793e8
...
...
@@ -88,7 +88,7 @@ describe('BoostConsoleBooster', () => {
expect
(
poster
).
not
.
toBeNull
();
});
it
(
"
should not have a poster if the user has posted content
"
,
()
=>
{
it
(
'
should not have a poster if the user has posted content
'
,
()
=>
{
comp
.
feed$
=
of
([
BehaviorSubject
.
create
({
id
:
1
}),
BehaviorSubject
.
create
({
id
:
2
})]);
fixture
.
detectChanges
();
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/boost/console/booster/booster.component.ts
View file @
704793e8
...
...
@@ -27,9 +27,9 @@ export class BoostConsoleBooster {
feed$
:
Observable
<
BehaviorSubject
<
Object
>
[]
>
;
componentRef
;
componentInstance
:
PosterComponent
;
inProgress
:
boolean
=
true
;
loaded
:
boolean
=
false
;
noContent
:
boolean
=
true
;
inProgress
=
true
;
loaded
=
false
;
noContent
=
true
;
constructor
(
public
client
:
Client
,
...
...
@@ -70,7 +70,7 @@ export class BoostConsoleBooster {
this
.
feedsService
.
setEndpoint
(
this
.
type
===
'
content
'
?
'
api/v1/entities/owner
'
?
`api/v2/feeds/container/
${
this
.
minds
.
user
.
guid
}
/channels`
:
`api/v2/feeds/container/
${
this
.
minds
.
user
.
guid
}
/activities`
)
.
setParams
({
sync
:
true
})
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment