Move EE differences for `app/assets/javascripts/environments/components/container.vue`
The file app/assets/javascripts/environments/components/container.vue
has differences between CE and EE.
Diferences
diff --git a/home/yorickpeterse/Projects/gitlab/gdk-ce/gitlab/app/assets/javascripts/environments/components/container.vue b/home/yorickpeterse/Projects/gitlab/gdk-ee/gitlab/app/assets/javascripts/environments/components/container.vue
index bd402c0eea5..0bffa3a0cf1 100644
--- a/home/yorickpeterse/Projects/gitlab/gdk-ce/gitlab/app/assets/javascripts/environments/components/container.vue
+++ b/home/yorickpeterse/Projects/gitlab/gdk-ee/gitlab/app/assets/javascripts/environments/components/container.vue
@@ -30,6 +30,28 @@ export default {
type: Boolean,
required: true,
},
+ // ee-only start
+ canaryDeploymentFeatureId: {
+ type: String,
+ required: true,
+ },
+ showCanaryDeploymentCallout: {
+ type: Boolean,
+ required: true,
+ },
+ userCalloutsPath: {
+ type: String,
+ required: true,
+ },
+ lockPromotionSvgPath: {
+ type: String,
+ required: true,
+ },
+ helpCanaryDeploymentsPath: {
+ type: String,
+ required: true,
+ },
+ // ee-only end
},
methods: {
onChangePage(page) {
@@ -55,6 +77,11 @@ export default {
:environments="environments"
:can-create-deployment="canCreateDeployment"
:can-read-environment="canReadEnvironment"
+ :canary-deployment-feature-id="canaryDeploymentFeatureId"
+ :show-canary-deployment-callout="showCanaryDeploymentCallout"
+ :user-callouts-path="userCalloutsPath"
+ :lock-promotion-svg-path="lockPromotionSvgPath"
+ :help-canary-deployments-path="helpCanaryDeploymentsPath"
/>
<table-pagination
What needs to be done
- Create a EE mixin & a CE counterpart & use ee_else_ce to import it