diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-04-20 15:43:58 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-04-23 11:23:52 +0100 |
commit | a527c9b915ac7c690c03f8b2cd16edf1777f1f32 (patch) | |
tree | a558a69bd167545018e965223cfae8ac9e23dbea /app/assets/javascripts/pipelines/components/graph/graph_component.vue | |
parent | 44a222adea18eb4b543d696c961e69196a4928f5 (diff) | |
download | gitlab-ce-a527c9b915ac7c690c03f8b2cd16edf1777f1f32.tar.gz |
Fix disabled state while making a request
Provide props down instead of an event
Diffstat (limited to 'app/assets/javascripts/pipelines/components/graph/graph_component.vue')
-rw-r--r-- | app/assets/javascripts/pipelines/components/graph/graph_component.vue | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/assets/javascripts/pipelines/components/graph/graph_component.vue b/app/assets/javascripts/pipelines/components/graph/graph_component.vue index ac9ce7e47d6..7b8a5edcbff 100644 --- a/app/assets/javascripts/pipelines/components/graph/graph_component.vue +++ b/app/assets/javascripts/pipelines/components/graph/graph_component.vue @@ -7,7 +7,6 @@ export default { StageColumnComponent, LoadingIcon, }, - props: { isLoading: { type: Boolean, @@ -17,10 +16,10 @@ export default { type: Object, required: true, }, - actionDisabled: { + requestFinishedFor: { type: String, required: false, - default: null, + default: '', }, }, @@ -75,7 +74,7 @@ export default { :key="stage.name" :stage-connector-class="stageConnectorClass(index, stage)" :is-first-column="isFirstColumn(index)" - :action-disabled="actionDisabled" + :request-finished-for="requestFinishedFor" /> </ul> </div> |