Commit 86bbb60c authored by Miguel Rincon's avatar Miguel Rincon

Improve ref name

parent 69b760c0
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
this.isLoading = false; this.isLoading = false;
}) })
.catch(() => { .catch(() => {
this.$refs.stageGlDropdown.hide(); this.$refs.dropdown.hide();
this.isLoading = false; this.isLoading = false;
Flash(__('Something went wrong on our end.')); Flash(__('Something went wrong on our end.'));
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
}, },
pipelineActionRequestComplete() { pipelineActionRequestComplete() {
// close the dropdown in MR widget // close the dropdown in MR widget
this.$refs.stageGlDropdown.hide(); this.$refs.dropdown.hide();
// warn the pipelines table to update // warn the pipelines table to update
this.$emit('pipelineActionRequestComplete'); this.$emit('pipelineActionRequestComplete');
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
<template> <template>
<gl-dropdown <gl-dropdown
ref="stageGlDropdown" ref="dropdown"
v-gl-tooltip.hover v-gl-tooltip.hover
data-testid="mini-pipeline-graph-dropdown" data-testid="mini-pipeline-graph-dropdown"
:title="stage.title" :title="stage.title"
......
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