mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-09 19:04:53 +01:00
fix(desktop): double listing dir
This commit is contained in:
@@ -366,7 +366,9 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
|||||||
<span class="text-text-weak whitespace-nowrap overflow-hidden overflow-ellipsis truncate min-w-0">
|
<span class="text-text-weak whitespace-nowrap overflow-hidden overflow-ellipsis truncate min-w-0">
|
||||||
{getDirectory(i)}
|
{getDirectory(i)}
|
||||||
</span>
|
</span>
|
||||||
<span class="text-text-strong whitespace-nowrap">{getFilename(i)}</span>
|
<Show when={!i.endsWith("/")}>
|
||||||
|
<span class="text-text-strong whitespace-nowrap">{getFilename(i)}</span>
|
||||||
|
</Show>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center gap-x-1 text-text-muted/40 shrink-0"></div>
|
<div class="flex items-center gap-x-1 text-text-muted/40 shrink-0"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user