We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3046d0b commit 7c65438Copy full SHA for 7c65438
src/components/app/details/triggerView/DeployImageModal/service.ts
@@ -150,7 +150,7 @@ export const getAppGroupDeploymentWindowMap = async (
150
appEnvList: (Pick<WorkflowType, 'appId'> & { envId: number })[],
151
envId: number,
152
): Promise<GetAppGroupDeploymentWindowMapReturnType> => {
153
- if (!getDeploymentWindowStateAppGroup || !processDeploymentWindowMetadata) {
+ if (!getDeploymentWindowStateAppGroup || !processDeploymentWindowMetadata || !appEnvList?.length) {
154
return {
155
deploymentWindowMap: {},
156
isPartialActionAllowed: false,
0 commit comments