mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
fix: mute the project path in the sidebar that proceeds the final directory
This commit is contained in:
parent
cd9898a565
commit
7cb5a77ba6
@ -277,7 +277,10 @@ export function Sidebar(props: { sessionID: string }) {
|
||||
</box>
|
||||
</box>
|
||||
</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}>
|
||||
<span style={{ fg: theme.success }}>•</span> <b>Open</b>
|
||||
<span style={{ fg: theme.text }}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user