Skip to content

refactor(site): Refactor template settings #6239

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 10 commits into from
Feb 17, 2023
Prev Previous commit
Next Next commit
Remove duplicated ttl field
  • Loading branch information
BrunoQuaresma committed Feb 17, 2023
commit 54f9d95b88a1ccfde7daae7627e8857cf9ac4c5c
18 changes: 0 additions & 18 deletions site/src/pages/TemplateSettingsPage/TemplateSettingsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,24 +183,6 @@ export const TemplateSettingsForm: FC<TemplateSettingsForm> = ({
/>
</FormSection>

<FormSection
title={t("schedule.title")}
description={t("schedule.description")}
>
<TextField
{...getFieldHelpers(
"default_ttl_ms",
<TTLHelperText ttl={form.values.default_ttl_ms} />,
)}
disabled={isSubmitting}
fullWidth
inputProps={{ min: 0, step: 1 }}
label={t("defaultTtlLabel")}
variant="outlined"
type="number"
/>
</FormSection>

<FormSection
title={t("operations.title")}
description={t("operations.description")}
Expand Down