Skip to content

Commit

Permalink
missing uservalues
Browse files Browse the repository at this point in the history
  • Loading branch information
nir2002 committed Jul 20, 2023
1 parent ee7d3fa commit 3886591
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ export const InstallChartModal = ({
// userDefinedValue: userValues, // for key only
revision: revision ? parseInt(revision) : undefined,
options: {
enabled: !isInstall,
onSuccess: (data: string) => {
if (data) {
fetchDiff({ userValues: "" });
Expand Down Expand Up @@ -262,7 +261,7 @@ export const InstallChartModal = ({
try {
const [currentVerData, selectedVerData] = await Promise.all([
currentVersion
? fetchVersionData({ version: currentVersion })
? fetchVersionData({ version: currentVersion, userValues })
: Promise.resolve({ manifest: "" }),
fetchVersionData({ version: selectedVersion || "", userValues }),
]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const UserDefinedValues = ({
timeoutRef.current = setTimeout(() => {
setValues(localState);
clearTimeout(timeoutRef.current);
}, 400);
}, 800);
}
}, [localState]);

Expand Down

0 comments on commit 3886591

Please sign in to comment.