Fixup various vuejs warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user