adasd
All checks were successful
Deploy / deploy-staging (push) Successful in 5s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-04-29 01:31:47 +02:00
parent b76edb49b0
commit af1d94a3b6
5 changed files with 75 additions and 24 deletions

View File

@@ -115,19 +115,6 @@
}
});
root.querySelector('[data-action="refresh-catalog"]')?.addEventListener('click', async () => {
try {
setLoading(true);
setMessage('Ich synchronisiere jetzt den Waehrungskatalog.');
const data = await request('/currencies-refresh', { method: 'POST', body: JSON.stringify({}) });
setMessage(`Waehrungskatalog synchronisiert. ${data?.synced_count || 0} Waehrungen verarbeitet.`, 'success');
} catch (error) {
setMessage(error.message || 'Waehrungskatalog konnte nicht synchronisiert werden.', 'error');
} finally {
setLoading(false);
}
});
root.querySelector('[data-action="save-settings"]')?.addEventListener('click', async () => {
try {
setLoading(true);