rm checkbox

master
alex 2024-01-21 19:35:55 +01:00
parent f9d2357a49
commit d6fede364e
1 changed files with 0 additions and 10 deletions

View File

@ -211,10 +211,6 @@ function CardPersonalCalendarSettings({ settings }) {
myFetch("/calendar/settings/personal/unlink", "POST", { myFetch("/calendar/settings/personal/unlink", "POST", {
password: EncodeStringToBase64(values.password), password: EncodeStringToBase64(values.password),
deleteCalendars:
values.deleteCalendars === undefined
? false
: values.deleteCalendars,
}) })
.then(() => window.location.reload()) .then(() => window.location.reload())
.catch((errStatus) => { .catch((errStatus) => {
@ -235,12 +231,6 @@ function CardPersonalCalendarSettings({ settings }) {
> >
<p>{t("calendar.unlinkGoogleCalendar.description")}</p> <p>{t("calendar.unlinkGoogleCalendar.description")}</p>
<MyPasswordFormInput /> <MyPasswordFormInput />
<Form.Item name="deleteCalendars" valuePropName="checked">
<Checkbox>
{t("calendar.unlinkGoogleCalendar.checkboxDeleteCalendars")}
</Checkbox>
</Form.Item>
</Form> </Form>
</> </>
</MyModal> </MyModal>