mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-05 01:39:54 +00:00
fix(tui): hide redundant session directory labels (#39686)
This commit is contained in:
parent
f23ee5e4a8
commit
02f3504055
1 changed files with 1 additions and 3 deletions
|
|
@ -133,9 +133,7 @@ export function DialogSessionList() {
|
|||
const project = data.project.get(session.projectID)
|
||||
const footer = allProjects()
|
||||
? Locale.truncate(project?.name || path.basename(project?.canonical ?? directory), 20)
|
||||
: directory !== data.location.info()?.project.directory
|
||||
? Locale.truncate(path.basename(directory), 20)
|
||||
: ""
|
||||
: undefined
|
||||
const slot = sessionTabs.enabled() ? undefined : slotByID.get(session.id)
|
||||
const deleting = toDelete() === session.id
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue