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
26f0413d
Commit
26f0413d
authored
Jun 17, 2020
by
Axel García
Committed by
Miguel Rincon
Jul 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use map state on epic header
parent
492dbdf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
ee/app/assets/javascripts/epic/components/epic_header.vue
ee/app/assets/javascripts/epic/components/epic_header.vue
+4
-5
No files found.
ee/app/assets/javascripts/epic/components/epic_header.vue
View file @
26f0413d
...
...
@@ -32,6 +32,7 @@ export default {
'
epicStatusChangeInProgress
'
,
'
author
'
,
'
created
'
,
'
canCreate
'
,
'
canUpdate
'
,
'
confidential
'
,
'
newEpicWebUrl
'
,
...
...
@@ -54,10 +55,8 @@ export default {
actionButtonText
()
{
return
this
.
isEpicOpen
?
__
(
'
Close epic
'
)
:
__
(
'
Reopen epic
'
);
},
canCreate
()
{
const
{
canCreate
}
=
this
.
$store
.
state
;
return
canCreate
&&
this
.
glFeatures
.
createEpicForm
;
userCanCreate
()
{
return
this
.
canCreate
&&
this
.
glFeatures
.
createEpicForm
;
},
},
mounted
()
{
...
...
@@ -126,7 +125,7 @@ export default {
>
<gl-deprecated-button
v-if=
"
c
anCreate"
v-if=
"
userC
anCreate"
class=
"btn btn-grouped btn-success btn-inverted js-new-epic-button"
:href=
"newEpicWebUrl"
>
...
...
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