feature: send thankscard page

This commit is contained in:
antv
2026-07-14 16:23:04 +07:00
parent 3aa9e04bd7
commit 05605ed1eb
28 changed files with 536 additions and 297 deletions
@@ -344,11 +344,15 @@
await reloadListsSection();
} else {
alert(result.message || 'Đã xảy ra lỗi. Vui lòng thử lại.');
if (window.showToast) {
window.showToast(result.message || 'Đã xảy ra lỗi. Vui lòng thử lại.', 'error');
}
}
} catch (err) {
console.error(err);
alert('Đã xảy ra lỗi kết nối.');
if (window.showToast) {
window.showToast('Đã xảy ra lỗi kết nối.', 'error');
}
} finally {
if (submitBtn) submitBtn.disabled = false;
}