diff options
| author | David Hill <[email protected]> | 2025-10-29 16:16:56 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2025-10-29 16:16:56 +0000 |
| commit | 4a77e94e3c6f6ab96e347038cc2548888aecb673 (patch) | |
| tree | 05e0e4670486e6bcd8b031f6d71f1d59a019af2f /packages/desktop/src/components | |
| parent | 4c563ea4051a1ea38651e7a383b30638f790bfeb (diff) | |
| parent | 58752574629fdf2ad6d87861c3dd5e9a89c42805 (diff) | |
| download | opencode-4a77e94e3c6f6ab96e347038cc2548888aecb673.tar.gz opencode-4a77e94e3c6f6ab96e347038cc2548888aecb673.zip | |
Merge branch 'dev' of https://github.com/sst/opencode into dev
Diffstat (limited to 'packages/desktop/src/components')
| -rw-r--r-- | packages/desktop/src/components/prompt-input.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/desktop/src/components/prompt-input.tsx b/packages/desktop/src/components/prompt-input.tsx index e6701bddc..d6276c158 100644 --- a/packages/desktop/src/components/prompt-input.tsx +++ b/packages/desktop/src/components/prompt-input.tsx @@ -393,9 +393,11 @@ export const PromptInput: Component<PromptInputProps> = (props) => { <img src={`https://models.dev/logos/${i.provider.id}.svg`} class="size-6 p-0.5 shrink-0 " /> <div class="flex gap-x-3 items-baseline flex-[1_0_0]"> <span class="text-14-medium text-text-strong overflow-hidden text-ellipsis">{i.name}</span> - <span class="text-12-medium text-text-weak overflow-hidden text-ellipsis truncate min-w-0"> - {DateTime.fromFormat(i.release_date, "yyyy-MM-dd").toFormat("LLL yyyy")} - </span> + <Show when={i.release_date}> + <span class="text-12-medium text-text-weak overflow-hidden text-ellipsis truncate min-w-0"> + {DateTime.fromFormat(i.release_date, "yyyy-MM-dd").toFormat("LLL yyyy")} + </span> + </Show> </div> </div> <Show when={!i.cost || i.cost?.input === 0}> |
