mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-25 07:06:25 -08:00
mail-unlink: break in case
This commit is contained in:
parent
f27f7b8921
commit
4def0d3fa6
|
@ -134,6 +134,7 @@ export function emailPotentialRemove(optPicker) {
|
||||||
switch (exp.selected) {
|
switch (exp.selected) {
|
||||||
case "set":
|
case "set":
|
||||||
emailChange(optPicker);
|
emailChange(optPicker);
|
||||||
|
break
|
||||||
case "disconnect":
|
case "disconnect":
|
||||||
fetch("/auth/remove_email", {method: "POST"}).then((response) => {
|
fetch("/auth/remove_email", {method: "POST"}).then((response) => {
|
||||||
if (response.status != 200) {
|
if (response.status != 200) {
|
||||||
|
|
Loading…
Reference in a new issue