Commit f562a3e6 authored by Winnie Hellmann's avatar Winnie Hellmann

EE-port of "Don't show memory usage graph for unmerged MRs"

see https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22673
parent b26b8cec
......@@ -205,6 +205,7 @@ export default {
:key="`pre-merge-deploy-${deployment.id}`"
class="js-pre-merge-deploy"
:deployment="deployment"
:show-metrics="false"
/>
<div class="mr-section-container">
<mr-widget-approvals
......@@ -320,6 +321,7 @@ export default {
v-for="postMergeDeployment in mr.postMergeDeployments"
:key="`post-merge-deploy-${postMergeDeployment.id}`"
:deployment="postMergeDeployment"
:show-metrics="true"
class="js-post-deployment"
/>
</template>
......
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