Commit 2b3469e2 authored by Phil Hughes's avatar Phil Hughes

Merge branch '11420-show-group-cluster-deployment-boards' into 'master'

Show deploy boards for group cluster deployments

Closes #11420

See merge request gitlab-org/gitlab-ee!14504
parents 98a1c275 4c22c833
import { CLUSTER_TYPE } from '~/clusters/constants';
/**
* Deploy boards are EE only.
*
......@@ -9,11 +7,7 @@ import { CLUSTER_TYPE } from '~/clusters/constants';
// eslint-disable-next-line import/prefer-default-export
export const setDeployBoard = (oldEnvironmentState, environment) => {
let parsedEnvironment = environment;
if (
environment.size === 1 &&
environment.rollout_status &&
environment.cluster_type !== CLUSTER_TYPE.GROUP
) {
if (environment.size === 1 && environment.rollout_status) {
parsedEnvironment = Object.assign({}, environment, {
hasDeployBoard: true,
isDeployBoardVisible:
......
---
title: Show deploy boards for group cluster deployments
merge_request: 14504
author:
type: added
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