diff --git a/ocm-cli/src/tui.tsx b/ocm-cli/src/tui.tsx index 1a2798c3..4d0a0e64 100644 --- a/ocm-cli/src/tui.tsx +++ b/ocm-cli/src/tui.tsx @@ -8,15 +8,14 @@ const tui = async (api: TuiPluginApi): Promise => { const remote = readRemoteContext(process.env) if (!remote) return - const label = remote.repoName ? `${remote.managerHost} · ${remote.repoName}` : remote.managerHost const indicator = (ctx: TuiSlotContext) => { const theme = ctx.theme.current return ( - - REMOTE - - {label} + {remote.managerHost} + {remote.repoName && ( + · {remote.repoName} + )} ) }