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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
6ef83d06
Commit
6ef83d06
authored
Apr 18, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix eslint errors
parent
ac393ade
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
app/assets/javascripts/pipelines/components/graph/action_component.vue
...vascripts/pipelines/components/graph/action_component.vue
+9
-9
No files found.
app/assets/javascripts/pipelines/components/graph/action_component.vue
View file @
6ef83d06
...
...
@@ -45,7 +45,12 @@ export default {
return
`
${
actionIconDash
}
js-icon-
${
actionIconDash
}
`
;
},
},
created
()
{
eventHub
.
$on
(
'
graphActionFinished
'
,
this
.
updateDisabled
);
},
beforeDestroy
()
{
eventHub
.
$off
(
'
graphActionFinished
'
,
this
.
updateDisabled
);
},
methods
:
{
onClickAction
()
{
$
(
this
.
$el
).
tooltip
(
'
hide
'
);
...
...
@@ -57,14 +62,8 @@ export default {
if
(
actionUrl
===
this
.
linkRequested
)
{
this
.
isDisabled
=
false
;
}
}
},
created
()
{
eventHub
.
$on
(
'
graphActionFinished
'
,
this
.
updateDisabled
);
},
beforeDestroy
()
{
eventHub
.
$off
(
'
graphActionFinished
'
,
this
.
updateDisabled
);
},
},
};
</
script
>
<
template
>
...
...
@@ -73,7 +72,8 @@ export default {
@
click=
"onClickAction"
v-tooltip
:title=
"tooltipText"
class=
"js-ci-action btn btn-blank btn-transparent ci-action-icon-container ci-action-icon-wrapper"
class=
"js-ci-action btn btn-blank btn-transparent
ci-action-icon-container ci-action-icon-wrapper"
:class=
"cssClass"
data-container=
"body"
:disabled=
"isDisabled"
...
...
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