Commit 2de1d608 authored by Shah El-Rahman's avatar Shah El-Rahman

Resolve conflicts with 'app/assets/javascripts/pipelines/components/async_button.vue'

parent 89d4144c
......@@ -32,15 +32,9 @@
type: String,
required: true,
},
<<<<<<< HEAD
confirmActionMessage: {
type: String,
required: false,
=======
id: {
type: Number,
required: true,
>>>>>>> upstream/master
},
},
......@@ -56,18 +50,10 @@
},
methods: {
onClick() {
<<<<<<< HEAD
if (this.confirmActionMessage && confirm(this.confirmActionMessage)) {
this.makeRequest();
} else if (!this.confirmActionMessage) {
this.makeRequest();
}
=======
eventHub.$emit('actionConfirmationModal', {
id: this.id,
callback: this.makeRequest,
});
>>>>>>> upstream/master
},
makeRequest() {
this.isLoading = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment