Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
69b317e9
Commit
69b317e9
authored
Oct 02, 2018
by
Kushal Pandya
Committed by
Filipa Lacerda
Oct 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Epic subscription toggle behaviour
parent
617c78e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
ee/app/assets/javascripts/epics/sidebar/components/sidebar_app.vue
...sets/javascripts/epics/sidebar/components/sidebar_app.vue
+1
-1
ee/changelogs/unreleased/7445-fix-epic-toggle-subscription.yml
...angelogs/unreleased/7445-fix-epic-toggle-subscription.yml
+5
-0
ee/spec/javascripts/epics/sidebar/components/sidebar_app_spec.js
.../javascripts/epics/sidebar/components/sidebar_app_spec.js
+6
-0
No files found.
ee/app/assets/javascripts/epics/sidebar/components/sidebar_app.vue
View file @
69b317e9
...
...
@@ -167,7 +167,7 @@ export default {
savingTodoAction
:
false
,
service
:
new
SidebarService
({
endpoint
:
this
.
endpoint
,
subscriptionEndpoint
:
this
.
subscriptionEndpoint
,
subscriptionEndpoint
:
this
.
toggleSubscriptionPath
,
todoPath
:
this
.
todoPath
,
}),
epicContext
:
{
...
...
ee/changelogs/unreleased/7445-fix-epic-toggle-subscription.yml
0 → 100644
View file @
69b317e9
---
title
:
Fix Epic subscription toggle behaviour
merge_request
:
7723
author
:
type
:
fixed
ee/spec/javascripts/epics/sidebar/components/sidebar_app_spec.js
View file @
69b317e9
...
...
@@ -76,6 +76,12 @@ describe('epicSidebar', () => {
Cookies
.
set
(
'
collapsed_gutter
'
,
originalCookieState
);
});
it
(
'
should initialize service with correct endpoints
'
,
()
=>
{
expect
(
vm
.
service
.
endpoint
.
length
>
0
).
toBe
(
true
);
expect
(
vm
.
service
.
subscriptionEndpoint
.
length
>
0
).
toBe
(
true
);
expect
(
vm
.
service
.
todoPath
.
length
>
0
).
toBe
(
true
);
});
it
(
'
should render right-sidebar-expanded class when not collapsed
'
,
()
=>
{
expect
(
vm
.
$el
.
classList
.
contains
(
'
right-sidebar-expanded
'
)).
toEqual
(
true
);
});
...
...
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