fix: mute the project path in the sidebar that proceeds the final directory
This commit is contained in:
parent
8e7269d985
commit
f1ceee1f2e
1 changed files with 4 additions and 1 deletions
|
|
@ -277,7 +277,10 @@ export function Sidebar(props: { sessionID: string }) {
|
||||||
</box>
|
</box>
|
||||||
</box>
|
</box>
|
||||||
</Show>
|
</Show>
|
||||||
<text fg={theme.text}>{directory()}</text>
|
<text>
|
||||||
|
<span style={{ fg: theme.textMuted }}>{directory().split("/").slice(0, -1).join("/")}/</span>
|
||||||
|
<span style={{ fg: theme.text }}>{directory().split("/").at(-1)}</span>
|
||||||
|
</text>
|
||||||
<text fg={theme.textMuted}>
|
<text fg={theme.textMuted}>
|
||||||
<span style={{ fg: theme.success }}>•</span> <b>Open</b>
|
<span style={{ fg: theme.success }}>•</span> <b>Open</b>
|
||||||
<span style={{ fg: theme.text }}>
|
<span style={{ fg: theme.text }}>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue