Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/desktop/src/renderer/settings/settings-surface.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ export function SettingsSurface(props: {
<p className="settingsPageHeaderDescription">{headerCopy.description}</p>
)}
</div>
{showsRuntimeHost && runtimeHostOptions.length > 0 ? (
{showsRuntimeHost && runtimeHostOptions.length > 1 ? (
<div className="settingsRuntimeHostSelector">
<Selector
label={copy.runtimeHost}
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/stories/settings/settings-pages.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2205,7 +2205,7 @@ export const ModelsConnectionsHostGenerationRevalidation: Story = {
isDefault: true,
});

await userEvent.click(canvas.getByRole('combobox', { name: 'Runtime Host' }));
await userEvent.click(await canvas.findByRole('combobox', { name: 'Runtime Host' }));
await within(document.body).findByRole('option', { name: 'Remote' });
await userEvent.keyboard('{Escape}');
await expect(boundary).toHaveAttribute('inert');
Expand Down