Fixup various vuejs warnings

This commit is contained in:
Johannes Zellner
2025-08-11 19:07:02 +02:00
parent f40145412b
commit 25fa999259
6 changed files with 97 additions and 91 deletions
+3 -1
View File
@@ -126,7 +126,9 @@ async function refresh() {
let tmp = [];
async function refreshForDomain(domain) {
let [error, result] = await mailModel.usage(domain);
if (error) return console.error(error);
// retry if mail addon cannot be reached during restarts
if (error && error.status === 424) return setTimeout(refresh, 2000);
else if (error) return console.error(error);
const usage = result;