mail-unlink: break in case

This commit is contained in:
May 2023-09-30 21:45:11 -07:00
parent f27f7b8921
commit 4def0d3fa6

View file

@ -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) {