diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-05-04 13:11:48 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-04 13:11:48 +0000 |
commit | e69732e2fb4a2a22947bb6faadd0292275c03ace (patch) | |
tree | f315cea436799b8eb235136b2dc82003dfd703bb /app/assets/javascripts/vue_shared/components/pipelines_table.js | |
parent | dcdced81ae249d38837068d2cc6b7e21ebf1bef2 (diff) | |
download | gitlab-ce-e69732e2fb4a2a22947bb6faadd0292275c03ace.tar.gz |
Pipeline table mini graph dropdown remains open when table is refreshed
Diffstat (limited to 'app/assets/javascripts/vue_shared/components/pipelines_table.js')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/pipelines_table.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/app/assets/javascripts/vue_shared/components/pipelines_table.js b/app/assets/javascripts/vue_shared/components/pipelines_table.js index afd8d7acf6b..48a39f18112 100644 --- a/app/assets/javascripts/vue_shared/components/pipelines_table.js +++ b/app/assets/javascripts/vue_shared/components/pipelines_table.js @@ -10,13 +10,18 @@ export default { pipelines: { type: Array, required: true, - default: () => ([]), }, service: { type: Object, required: true, }, + + updateGraphDropdown: { + type: Boolean, + required: false, + default: false, + }, }, components: { @@ -40,7 +45,9 @@ export default { v-bind:model="model"> <tr is="pipelines-table-row-component" :pipeline="model" - :service="service"></tr> + :service="service" + :update-graph-dropdown="updateGraphDropdown" + /> </template> </tbody> </table> |