From 5b366a5ef93d801cdc25919084b17e18ffc75171 Mon Sep 17 00:00:00 2001 From: fritz-astronomer <80706212+fritz-astronomer@users.noreply.github.com> Date: Fri, 7 Jun 2024 17:50:52 -0400 Subject: [PATCH] pass state.isAstro to env var page --- astronomer_starship/src/pages/EnvVarsPage.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/astronomer_starship/src/pages/EnvVarsPage.jsx b/astronomer_starship/src/pages/EnvVarsPage.jsx index c10788e..2c17dad 100644 --- a/astronomer_starship/src/pages/EnvVarsPage.jsx +++ b/astronomer_starship/src/pages/EnvVarsPage.jsx @@ -120,6 +120,7 @@ EnvVarMigrateButton.propTypes = { route: PropTypes.string.isRequired, headers: PropTypes.objectOf(PropTypes.string), existsInRemote: PropTypes.bool, + isAstro: PropTypes.bool.isRequired, // eslint-disable-next-line react/forbid-prop-types sendData: PropTypes.object.isRequired, deploymentId: PropTypes.string, @@ -189,6 +190,7 @@ export default function EnvVarsPage({ state, dispatch }) { value: info.row.getValue('value'), isSecret: false }} + isAstro={state.isAstro} deploymentId={state.deploymentId} releaseName={state.releaseName} />