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