allow closing progress toast
Mwebclient/src/utils.ts
@@ -47,7 +47,7 @@ export function toast(text: string, type: "progress" | "info" | "error" | "succe
const thisToast = Toastify({
text: e ? `${text}:\n${stringErr(e)}` : text,
duration: type === "progress" ? -1 : 2000,
close: type !== "progress",
close: true,
style: {
"border-radius": "0",
display: "flex",