rm checkbox
parent
f9d2357a49
commit
d6fede364e
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue