summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2019-07-03 14:02:13 +0000
committerFatih Acet <acetfatih@gmail.com>2019-07-03 14:02:13 +0000
commit7a8746896011762d002a0c17d5910899c45ad420 (patch)
tree8b8f2e054fd49e4c36d380df53ad970a61dc50cb /app/assets/javascripts
parent96efba34d32bcde33dbd21e9ef0f181330ddbe96 (diff)
parent2b1dcc815b175bbe2a1d8619d3659edd7d4209c3 (diff)
downloadgitlab-ce-7a8746896011762d002a0c17d5910899c45ad420.tar.gz
Merge branch '55487-enable-group-terminals-button' into 'master'
Enable terminals button for group clusters Closes #55487 See merge request gitlab-org/gitlab-ce!30255
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/environments/components/environment_item.vue11
1 files changed, 0 insertions, 11 deletions
diff --git a/app/assets/javascripts/environments/components/environment_item.vue b/app/assets/javascripts/environments/components/environment_item.vue
index dc68443493c..813045cb5e4 100644
--- a/app/assets/javascripts/environments/components/environment_item.vue
+++ b/app/assets/javascripts/environments/components/environment_item.vue
@@ -15,7 +15,6 @@ import MonitoringButtonComponent from './environment_monitoring.vue';
import CommitComponent from '../../vue_shared/components/commit.vue';
import eventHub from '../event_hub';
import { convertObjectPropsToCamelCase } from '~/lib/utils/common_utils';
-import { CLUSTER_TYPE } from '~/clusters/constants';
/**
* Environment Item Component
@@ -81,15 +80,6 @@ export default {
},
/**
- * Hide group cluster features which are not currently implemented.
- *
- * @returns {Boolean}
- */
- disableGroupClusterFeatures() {
- return this.model && this.model.cluster_type === CLUSTER_TYPE.GROUP;
- },
-
- /**
* Returns whether the environment can be stopped.
*
* @returns {Boolean}
@@ -581,7 +571,6 @@ export default {
<terminal-button-component
v-if="model && model.terminal_path"
:terminal-path="model.terminal_path"
- :disabled="disableGroupClusterFeatures"
/>
<rollback-component