mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix helm chart readme load app crash (#6781)
* Change request readme types to be AsyncResult Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Linter fix Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
1 parent
5c6402b60a
commit
bf6550918c
5 files changed
+947
-6
No files matched your search
+3
-1
@@ -26,11 +26,13 @@ const readmeOfSelectedHelmChartInjectable = getInjectable({
|
||||
return "";
|
||||
}
|
||||
|
||||
return await requestHelmChartReadme(
|
||||
const result = await requestHelmChartReadme(
|
||||
chartVersion.getRepository(),
|
||||
chartVersion.getName(),
|
||||
chartVersion.getVersion(),
|
||||
);
|
||||
|
||||
return result.callWasSuccessful ? result.response : "";
|
||||
},
|
||||
|
||||
valueWhenPending: "",
|
||||
|
||||
Reference in new issue
Block a user