From 23c606452597c8fd3de0601716286e8c5980779c Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Sun, 8 Oct 2023 23:33:08 +0200 Subject: [PATCH] Tweak in how the helm ls command result is displayed --- .../usecases/serviceManager/thunks/formatHelmCommands.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/core/usecases/serviceManager/thunks/formatHelmCommands.ts b/web/src/core/usecases/serviceManager/thunks/formatHelmCommands.ts index 1aa954d3d..b7a7a2946 100644 --- a/web/src/core/usecases/serviceManager/thunks/formatHelmCommands.ts +++ b/web/src/core/usecases/serviceManager/thunks/formatHelmCommands.ts @@ -30,7 +30,7 @@ export function formatHelmLsResp(params: { return { [key]: `${key}${" ".repeat( - Math.max(nameMaxLength + 3 - key.length, minPadding) + Math.max(nameMaxLength + 2 - key.length, minPadding) )} ` }; })(), @@ -51,7 +51,7 @@ export function formatHelmLsResp(params: { const key = "REVISION"; return { - [key]: `${key}${" ".repeat(minPadding)} ` + [key]: `${key}${" ".repeat(2)} ` }; })(), ...(() => { @@ -64,7 +64,7 @@ export function formatHelmLsResp(params: { ...(() => { const key = "STATUS"; - return { [key]: `${key}${" ".repeat(minPadding)} ` }; + return { [key]: `${key}${" ".repeat(3)} ` }; })(), ...(() => { const key = "CHART";