mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix typo
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
18db8d544d
commit
a254473141
@ -49,7 +49,7 @@ const upgradeChartModelInjectable = getInjectable({
|
|||||||
const tabData = await waitUntilDefined(() => upgradeChartTabStore.getData(tab.id));
|
const tabData = await waitUntilDefined(() => upgradeChartTabStore.getData(tab.id));
|
||||||
const release = await waitUntilDefined(() => releases.value.get().find(release => release.getName() === tabData.releaseName));
|
const release = await waitUntilDefined(() => releases.value.get().find(release => release.getName() === tabData.releaseName));
|
||||||
const versions = di.inject(helmChartVersionsInjectable, release);
|
const versions = di.inject(helmChartVersionsInjectable, release);
|
||||||
const storedConfigration = asyncComputed(() => requestHelmReleaseConfiguration(
|
const storedConfiguration = asyncComputed(() => requestHelmReleaseConfiguration(
|
||||||
release.getName(),
|
release.getName(),
|
||||||
release.getNs(),
|
release.getNs(),
|
||||||
true,
|
true,
|
||||||
@ -60,7 +60,7 @@ const upgradeChartModelInjectable = getInjectable({
|
|||||||
const configrationValue = observable.box<string>();
|
const configrationValue = observable.box<string>();
|
||||||
const configrationEditError = observable.box<string>();
|
const configrationEditError = observable.box<string>();
|
||||||
const configration: UpgradeChartModel["configration"] = {
|
const configration: UpgradeChartModel["configration"] = {
|
||||||
value: computed(() => configrationValue.get() ?? storedConfigration.value.get()),
|
value: computed(() => configrationValue.get() ?? storedConfiguration.value.get()),
|
||||||
set: action((value) => {
|
set: action((value) => {
|
||||||
configrationValue.set(value);
|
configrationValue.set(value);
|
||||||
configrationEditError.set(undefined);
|
configrationEditError.set(undefined);
|
||||||
@ -107,7 +107,7 @@ const upgradeChartModelInjectable = getInjectable({
|
|||||||
...selectedVersion,
|
...selectedVersion,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
storedConfigration.invalidate();
|
storedConfiguration.invalidate();
|
||||||
|
|
||||||
return {
|
return {
|
||||||
completedSuccessfully: true,
|
completedSuccessfully: true,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user