Merge branch '10028-env-index' into 'master'
Removes EE differences for environments index Closes gitlab-ee#10028 See merge request gitlab-org/gitlab-ce!26160
This commit is contained in:
commit
94997fe76d
2 changed files with 8 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
|
import canaryCalloutMixin from 'ee_else_ce/environments/mixins/canary_callout_mixin';
|
||||||
import environmentsComponent from './components/environments_app.vue';
|
import environmentsComponent from './components/environments_app.vue';
|
||||||
import { parseBoolean } from '../lib/utils/common_utils';
|
import { parseBoolean } from '../lib/utils/common_utils';
|
||||||
import Translate from '../vue_shared/translate';
|
import Translate from '../vue_shared/translate';
|
||||||
|
@ -11,6 +12,7 @@ export default () =>
|
||||||
components: {
|
components: {
|
||||||
environmentsComponent,
|
environmentsComponent,
|
||||||
},
|
},
|
||||||
|
mixins: [canaryCalloutMixin],
|
||||||
data() {
|
data() {
|
||||||
const environmentsData = document.querySelector(this.$options.el).dataset;
|
const environmentsData = document.querySelector(this.$options.el).dataset;
|
||||||
|
|
||||||
|
@ -32,6 +34,7 @@ export default () =>
|
||||||
cssContainerClass: this.cssContainerClass,
|
cssContainerClass: this.cssContainerClass,
|
||||||
canCreateEnvironment: this.canCreateEnvironment,
|
canCreateEnvironment: this.canCreateEnvironment,
|
||||||
canReadEnvironment: this.canReadEnvironment,
|
canReadEnvironment: this.canReadEnvironment,
|
||||||
|
...this.canaryCalloutProps,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
export default {
|
||||||
|
computed: {
|
||||||
|
canaryCalloutProps() {},
|
||||||
|
},
|
||||||
|
};
|
Loading…
Reference in a new issue