Skip to content

feat: allow for default presets #18445

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jun 24, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
chore: ensure "None" value is set correctly
Signed-off-by: Danny Kopping <dannykopping@gmail.com>
  • Loading branch information
dannykopping committed Jun 24, 2025
commit 371ac5ae6e26325c2f9f87a51ec2bd10d5d42713
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export const CreateWorkspacePageView: FC<CreateWorkspacePageViewProps> = ({
form.setFieldValue("template_version_preset_id", defaultPreset.ID);
} else {
setSelectedPresetIndex(0); // Explicitly set to "None"
form.setFieldValue("template_version_preset_id", "");
form.setFieldValue("template_version_preset_id", undefined);
}
}, [presets, form.setFieldValue]);

Expand Down
Loading