Work on fixing bugs and reformat

This commit is contained in:
2026-02-16 16:01:17 +00:00
parent 8cfd93d0d2
commit d11355a46b
32 changed files with 1100 additions and 442 deletions

View File

@@ -77,21 +77,21 @@
headers: { 'HX-Request': 'true' },
})
.then((response) => {
if (!response.ok) {
throw new Error('Failed contacts preview fetch.');
}
return response.text();
})
if (!response.ok) {
throw new Error('Failed contacts preview fetch.');
}
return response.text();
})
.then((html) => {
composeDropdown.innerHTML = html;
composePreviewLoaded = true;
})
composeDropdown.innerHTML = html;
composePreviewLoaded = true;
})
.catch(() => {
composePreviewLoaded = false;
})
composePreviewLoaded = false;
})
.finally(() => {
composePreviewLoading = false;
});
composePreviewLoading = false;
});
});
}