Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShah El-Rahman <selrahman@gitlab.com>2018-02-14 07:16:36 +0300
committerShah El-Rahman <selrahman@gitlab.com>2018-02-16 20:00:43 +0300
commite887e858716738c937473776f94d0686c628b2c6 (patch)
treec8348c4e6d379b9a75a851aa6b2bf13887a3f121 /app/assets/javascripts/pipelines/components/pipelines_table_row.vue
parent46d59a5d24c0cdbfab42587426dba3ab7b85be03 (diff)
Remove use of callback in pipeline stop/retry modals
Make changes to names of events and variables Combine stop and retry modals into 1 Fix lint issues Add comment about usage of eventHub instead of props
Diffstat (limited to 'app/assets/javascripts/pipelines/components/pipelines_table_row.vue')
-rw-r--r--app/assets/javascripts/pipelines/components/pipelines_table_row.vue10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/assets/javascripts/pipelines/components/pipelines_table_row.vue b/app/assets/javascripts/pipelines/components/pipelines_table_row.vue
index 0e3a10ed7f4..33d441e573e 100644
--- a/app/assets/javascripts/pipelines/components/pipelines_table_row.vue
+++ b/app/assets/javascripts/pipelines/components/pipelines_table_row.vue
@@ -305,9 +305,10 @@
css-class="js-pipelines-retry-button btn-default btn-retry"
title="Retry"
icon="repeat"
- :id="pipeline.id"
+ :pipeline-id="pipeline.id"
data-toggle="modal"
- data-target="#retry-confirmation-modal"
+ data-target="#confirmation-modal"
+ type="retry"
/>
<async-button-component
@@ -316,9 +317,10 @@
css-class="js-pipelines-cancel-button btn-remove"
title="Cancel"
icon="close"
- :id="pipeline.id"
+ :pipeline-id="pipeline.id"
data-toggle="modal"
- data-target="#stop-confirmation-modal"
+ data-target="#confirmation-modal"
+ type="stop"
/>
</div>
</div>