diff options
Diffstat (limited to 'app/assets/javascripts/pipeline_schedules/components/table')
2 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/javascripts/pipeline_schedules/components/table/cells/pipeline_schedule_actions.vue b/app/assets/javascripts/pipeline_schedules/components/table/cells/pipeline_schedule_actions.vue index c49220c0d68..76d118bf52d 100644 --- a/app/assets/javascripts/pipeline_schedules/components/table/cells/pipeline_schedule_actions.vue +++ b/app/assets/javascripts/pipeline_schedules/components/table/cells/pipeline_schedule_actions.vue @@ -58,6 +58,8 @@ export default { :title="$options.i18n.deleteTooltip" icon="remove" variant="danger" + data-testid="delete-pipeline-schedule-btn" + @click="$emit('showDeleteModal', schedule.id)" /> </gl-button-group> </div> diff --git a/app/assets/javascripts/pipeline_schedules/components/table/pipeline_schedules_table.vue b/app/assets/javascripts/pipeline_schedules/components/table/pipeline_schedules_table.vue index 00fe65cb9af..d54008b81b2 100644 --- a/app/assets/javascripts/pipeline_schedules/components/table/pipeline_schedules_table.vue +++ b/app/assets/javascripts/pipeline_schedules/components/table/pipeline_schedules_table.vue @@ -86,7 +86,10 @@ export default { </template> <template #cell(actions)="{ item }"> - <pipeline-schedule-actions :schedule="item" /> + <pipeline-schedule-actions + :schedule="item" + @showDeleteModal="$emit('showDeleteModal', $event)" + /> </template> </gl-table-lite> </template> |