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
f70ffde0
Commit
f70ffde0
authored
Mar 06, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add SidebarContext, props for LabelsSelect component
parent
e9fe4d33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
1 deletion
+32
-1
ee/app/assets/javascripts/epics/epic_show/components/epic_show_app.vue
.../javascripts/epics/epic_show/components/epic_show_app.vue
+32
-1
No files found.
ee/app/assets/javascripts/epics/epic_show/components/epic_show_app.vue
View file @
f70ffde0
...
...
@@ -3,8 +3,9 @@
import
issuableApp
from
'
~/issue_show/components/app.vue
'
;
import
relatedIssuesRoot
from
'
ee/related_issues/components/related_issues_root.vue
'
;
import
issuableAppEventHub
from
'
~/issue_show/event_hub
'
;
import
epicHeader
from
'
./epic_header.vue
'
;
import
epicSidebar
from
'
../../sidebar/components/sidebar_app.vue
'
;
import
SidebarContext
from
'
../sidebar_context
'
;
import
epicHeader
from
'
./epic_header.vue
'
;
export
default
{
name
:
'
EpicShowApp
'
,
...
...
@@ -85,6 +86,27 @@
type
:
String
,
required
:
false
,
},
labels
:
{
type
:
Array
,
required
:
true
,
},
namespace
:
{
type
:
String
,
required
:
false
,
default
:
'
#
'
,
},
labelsPath
:
{
type
:
String
,
required
:
true
,
},
labelsWebUrl
:
{
type
:
String
,
required
:
true
,
},
epicsWebUrl
:
{
type
:
String
,
required
:
true
,
},
},
data
()
{
return
{
...
...
@@ -94,6 +116,9 @@
projectNamespace
:
''
,
};
},
mounted
()
{
this
.
sidebarContext
=
new
SidebarContext
();
},
methods
:
{
deleteEpic
()
{
issuableAppEventHub
.
$emit
(
'
delete.issuable
'
);
...
...
@@ -137,6 +162,12 @@
:editable=
"canUpdate"
:initial-start-date=
"startDate"
:initial-end-date=
"endDate"
:initial-labels=
"labels"
:namespace=
"namespace"
:update-path=
"updateEndpoint"
:labels-path=
"labelsPath"
:labels-web-url=
"labelsWebUrl"
:epics-web-url=
"epicsWebUrl"
/>
<related-issues-root
:endpoint=
"issueLinksEndpoint"
...
...
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