From ed0d36f694d491d99367f5a808b2cfd37ffb1c14 Mon Sep 17 00:00:00 2001 From: Laszlo Fogas Date: Tue, 2 Apr 2024 13:56:58 +0200 Subject: [PATCH 1/2] fix: undefined if deployed from branch and no config exist on main --- web/dashboard/src/components/deployStatus/deployStatus.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/dashboard/src/components/deployStatus/deployStatus.jsx b/web/dashboard/src/components/deployStatus/deployStatus.jsx index eebb2a38f..5aec5ac04 100644 --- a/web/dashboard/src/components/deployStatus/deployStatus.jsx +++ b/web/dashboard/src/components/deployStatus/deployStatus.jsx @@ -83,7 +83,7 @@ export function DeployStatusModal(props) { const key = runningDeploy.trackingId let stack = connectedAgents[env].stacks.find(s => s.service.name === app) - const config = envConfigs[env].find((config) => config.app === app) + const config = envConfigs[env]?.find((config) => config.app === app) if (!stack) { // for apps we haven't deployed yet stack={service:{name: app}} From 5540678105aba120e82c3896bf6ada8595195ae8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 4 Apr 2024 18:51:19 +0000 Subject: [PATCH 2/2] fix: upgrade @types/react from 17.0.76 to 17.0.77 Snyk has created this PR to upgrade @types/react from 17.0.76 to 17.0.77. See this package in npm: https://www.npmjs.com/package/@types/react See this project in Snyk: https://app.snyk.io/org/laszlocph/project/288c8297-8311-44e8-b499-f55998c2fb07?utm_source=github&utm_medium=referral&page=upgrade-pr --- web/dashboard/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/dashboard/package.json b/web/dashboard/package.json index 6d89031b3..937633a4f 100644 --- a/web/dashboard/package.json +++ b/web/dashboard/package.json @@ -11,7 +11,7 @@ "@testing-library/user-event": "^12.8.3", "@types/jest": "^26.0.23", "@types/node": "^12.20.55", - "@types/react": "^17.0.75", + "@types/react": "^17.0.77", "@types/react-dom": "^17.0.23", "axios": "^1.6.7", "date-fns": "^2.30.0",