Skip to content

Commit 01c31e3

Browse files
committed
begin the lint journey
1 parent bdbc6f9 commit 01c31e3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

site/src/pages/TemplateSettingsPage/TemplateSchedulePage/TemplateScheduleForm/TemplateScheduleForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ export const TemplateScheduleForm: FC<TemplateScheduleForm> = ({
102102

103103
// Determine if this form will automatically
104104
// delete locked workspaces upon submission.
105-
const updateWillDeletWorkspaces =
105+
const updateWillDeleteWorkspaces =
106106
form.values.locked_cleanup_enabled &&
107107
workspacesToBeDeletedToday &&
108108
workspacesToBeDeletedToday.length > 0
109109

110-
if (updateWillLockWorkspaces || updateWillDeletWorkspaces) {
110+
if (updateWillLockWorkspaces || updateWillDeleteWorkspaces) {
111111
setIsScheduleDialogOpen(true)
112112
} else {
113113
submitValues()

site/src/pages/TemplateSettingsPage/TemplateSchedulePage/TemplateSchedulePage.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ const fillAndSubmitForm = async ({
6565
await user.type(failureTtlField, failure_ttl_ms.toString())
6666

6767
const inactivityTtlField = screen.getByRole("checkbox", {
68-
name: /Inactivity TTL/i,
68+
name: /Inactivity Soft Deletion/i,
6969
})
7070
await user.type(inactivityTtlField, inactivity_ttl_ms.toString())
7171

7272
const lockedTtlField = screen.getByRole("checkbox", {
73-
name: /Locked TTL/i,
73+
name: /Deletion Retention/i,
7474
})
7575
await user.type(lockedTtlField, locked_ttl_ms.toString())
7676

0 commit comments

Comments
 (0)