mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Display zero minAvailable/maxUnavailable as 0 instead of N/A (#7620)
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
1 parent
4024d184fa
commit
5f3a7a5873
2 files changed
+119
-2
No files matched your search
@@ -60,11 +60,11 @@ export class PodDisruptionBudget extends KubeObject<
|
||||
}
|
||||
|
||||
getMinAvailable() {
|
||||
return this.spec.minAvailable || "N/A";
|
||||
return this.spec.minAvailable ?? "N/A";
|
||||
}
|
||||
|
||||
getMaxUnavailable() {
|
||||
return this.spec.maxUnavailable || "N/A";
|
||||
return this.spec.maxUnavailable ?? "N/A";
|
||||
}
|
||||
|
||||
getCurrentHealthy() {
|
||||
|
||||
Reference in new issue
Block a user