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:
authorFilipa Lacerda <filipa@gitlab.com>2018-05-17 12:25:11 +0300
committerFilipa Lacerda <filipa@gitlab.com>2018-05-17 12:25:11 +0300
commit1bf74bfd255372f17f9135ba0ce6ad9111c845d9 (patch)
treeec171662f517a4c7b9817ebecefe7f28ee8f7e58 /app/assets/javascripts/pipelines/components/stage.vue
parentf4aced6f6d7419f17fcaeacaab623edc8205baed (diff)
Moves string to a constant
Diffstat (limited to 'app/assets/javascripts/pipelines/components/stage.vue')
-rw-r--r--app/assets/javascripts/pipelines/components/stage.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/pipelines/components/stage.vue b/app/assets/javascripts/pipelines/components/stage.vue
index 61cf7c1b665..1e6392cf60a 100644
--- a/app/assets/javascripts/pipelines/components/stage.vue
+++ b/app/assets/javascripts/pipelines/components/stage.vue
@@ -21,6 +21,7 @@ import Icon from '../../vue_shared/components/icon.vue';
import LoadingIcon from '../../vue_shared/components/loading_icon.vue';
import JobComponent from './graph/job_component.vue';
import tooltip from '../../vue_shared/directives/tooltip';
+import { PIPELINES_TABLE } from '../constants.js'
export default {
components: {
@@ -141,7 +142,7 @@ export default {
},
pipelineActionRequestComplete() {
- if (this.type === 'PIPELINES_TABLE') {
+ if (this.type === PIPELINES_TABLE) {
// warn the table to update
eventHub.$emit('refreshPipelinesTable');
} else {