{
return (
-
+
{
- setInstallError((error as Error)?.message || "Failed to update");
+ setInstallError(error?.message || "Failed to update");
},
});
diff --git a/frontend/src/components/modal/InstallChartModal/InstallRepoChartModal.tsx b/frontend/src/components/modal/InstallChartModal/InstallRepoChartModal.tsx
index 2d20be5..8c33a16 100644
--- a/frontend/src/components/modal/InstallChartModal/InstallRepoChartModal.tsx
+++ b/frontend/src/components/modal/InstallChartModal/InstallRepoChartModal.tsx
@@ -149,7 +149,7 @@ export const InstallRepoChartModal = ({
navigate(`/${response.namespace}/${response.name}/installed/revision/1`);
},
onError: (error) => {
- setInstallError((error as Error)?.message || "Failed to update");
+ setInstallError(error?.message || "Failed to update");
},
});
diff --git a/frontend/src/components/modal/InstallChartModal/InstallUpgradeTitle.tsx b/frontend/src/components/modal/InstallChartModal/InstallUpgradeTitle.tsx
index 0f169c3..5a9d888 100644
--- a/frontend/src/components/modal/InstallChartModal/InstallUpgradeTitle.tsx
+++ b/frontend/src/components/modal/InstallChartModal/InstallUpgradeTitle.tsx
@@ -17,7 +17,7 @@ export const InstallUpgradeTitle: FC = ({
{`${text}`}
{(isUpgrade || releaseValues) && (
- {chartName}
+ {chartName}
)}
);
diff --git a/frontend/src/components/modal/InstallChartModal/ManifestDiff.tsx b/frontend/src/components/modal/InstallChartModal/ManifestDiff.tsx
index 1bf2e1a..440ff6f 100644
--- a/frontend/src/components/modal/InstallChartModal/ManifestDiff.tsx
+++ b/frontend/src/components/modal/InstallChartModal/ManifestDiff.tsx
@@ -35,7 +35,7 @@ export const ManifestDiff = ({ diff, isLoading, error }: ManifestDiffProps) => {
if (isLoading && !error) {
return (
-
+
Calculating diff...
@@ -47,7 +47,7 @@ export const ManifestDiff = ({ diff, isLoading, error }: ManifestDiffProps) => {
Manifest changes:
{error ? (
-
+
Failed to get upgrade info: {error.toString()}
) : diff ? (
diff --git a/frontend/src/components/modal/InstallChartModal/UserDefinedValues.tsx b/frontend/src/components/modal/InstallChartModal/UserDefinedValues.tsx
index be607e8..09626b4 100644
--- a/frontend/src/components/modal/InstallChartModal/UserDefinedValues.tsx
+++ b/frontend/src/components/modal/InstallChartModal/UserDefinedValues.tsx
@@ -20,9 +20,9 @@ export const UserDefinedValues = ({
}, [debouncedValue, onValuesChange, initialValue]);
return (
-
+
);
diff --git a/frontend/src/components/modal/InstallChartModal/VersionToInstall.tsx b/frontend/src/components/modal/InstallChartModal/VersionToInstall.tsx
index 78789f8..c0858cb 100644
--- a/frontend/src/components/modal/InstallChartModal/VersionToInstall.tsx
+++ b/frontend/src/components/modal/InstallChartModal/VersionToInstall.tsx
@@ -42,7 +42,7 @@ export const VersionToInstall: FC<{
const currentVersion =
chartVersion && showCurrentVersion ? (
-
+
{"(current version is "}
{`${chartVersion}`}
{")"}
@@ -71,12 +71,12 @@ export const VersionToInstall: FC<{
[options, initialVersion]
);
return (
-
+
{versions?.length && (selectedOption || initOpt) ? (
<>
Version to install:{" "}