Update appeals page in place instead of reloading

This commit is contained in:
regalijan 2023-10-19 16:50:34 -04:00
parent 6e66f9c7d1
commit eb35e12850
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -133,8 +133,8 @@ export default function () {
});
onClose();
await new Promise((p) => setTimeout(p, 5000));
location.reload();
pageProps.can_appeal = !pageProps.can_appeal;
pageProps.disabled = !pageProps.disabled;
}
return showSuccess ? (