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
1f159a9f
Commit
1f159a9f
authored
Jan 11, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve async_button
parent
5a109128
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
51 deletions
+0
-51
app/assets/javascripts/pipelines/components/async_button.vue
app/assets/javascripts/pipelines/components/async_button.vue
+0
-51
No files found.
app/assets/javascripts/pipelines/components/async_button.vue
View file @
1f159a9f
<
script
>
<
script
>
<<<<<<<
HEAD
/* eslint-disable no-alert, vue/require-default-prop */
/* eslint-disable no-alert, vue/require-default-prop */
=======
/* eslint-disable no-alert */
>>>>>>>
upstream
/
master
import
eventHub
from
'
../event_hub
'
;
import
eventHub
from
'
../event_hub
'
;
import
loadingIcon
from
'
../../vue_shared/components/loading_icon.vue
'
;
import
loadingIcon
from
'
../../vue_shared/components/loading_icon.vue
'
;
...
@@ -13,7 +9,6 @@
...
@@ -13,7 +9,6 @@
directives
:
{
directives
:
{
tooltip
,
tooltip
,
},
},
<<<<<<<
HEAD
components
:
{
components
:
{
loadingIcon
,
loadingIcon
,
...
@@ -59,52 +54,6 @@
...
@@ -59,52 +54,6 @@
if
(
this
.
confirmActionMessage
&&
confirm
(
this
.
confirmActionMessage
))
{
if
(
this
.
confirmActionMessage
&&
confirm
(
this
.
confirmActionMessage
))
{
this
.
makeRequest
();
this
.
makeRequest
();
}
else
if
(
!
this
.
confirmActionMessage
)
{
}
else
if
(
!
this
.
confirmActionMessage
)
{
=======
components
:
{
loadingIcon
,
},
props
:
{
endpoint
:
{
type
:
String
,
required
:
true
,
},
title
:
{
type
:
String
,
required
:
true
,
},
icon
:
{
type
:
String
,
required
:
true
,
},
cssClass
:
{
type
:
String
,
required
:
true
,
},
confirmActionMessage
:
{
type
:
String
,
required
:
false
,
default
:
''
,
},
},
data
()
{
return
{
isLoading
:
false
,
};
},
computed
:
{
iconClass
()
{
return
`fa fa-
${
this
.
icon
}
`
;
},
buttonClass
()
{
return
`btn
${
this
.
cssClass
}
`
;
},
},
methods
:
{
onClick
()
{
if
(
this
.
confirmActionMessage
!==
''
&&
confirm
(
this
.
confirmActionMessage
))
{
this
.
makeRequest
();
}
else
if
(
this
.
confirmActionMessage
===
''
)
{
>>>>>>>
upstream
/
master
this
.
makeRequest
();
this
.
makeRequest
();
}
}
},
},
...
...
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