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 @@ ...@@ -32,15 +32,9 @@
type: String, type: String,
required: true, required: true,
}, },
<<<<<<< HEAD
confirmActionMessage: {
type: String,
required: false,
=======
id: { id: {
type: Number, type: Number,
required: true, required: true,
>>>>>>> upstream/master
}, },
}, },
...@@ -56,18 +50,10 @@ ...@@ -56,18 +50,10 @@
}, },
methods: { methods: {
onClick() { onClick() {
<<<<<<< HEAD
if (this.confirmActionMessage && confirm(this.confirmActionMessage)) {
this.makeRequest();
} else if (!this.confirmActionMessage) {
this.makeRequest();
}
=======
eventHub.$emit('actionConfirmationModal', { eventHub.$emit('actionConfirmationModal', {
id: this.id, id: this.id,
callback: this.makeRequest, callback: this.makeRequest,
}); });
>>>>>>> upstream/master
}, },
makeRequest() { makeRequest() {
this.isLoading = true; 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