Commit 4c22c833 authored by Tiger's avatar Tiger

Show deploy boards for group cluster deployments

parent 7fc79b5f
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