fix: use centralized logger in email-templates.js (JS-001)

Replace direct console.error calls with centralized logger pattern
in both admin and vendor email templates JavaScript files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-03 19:50:53 +01:00
parent 8e539634aa
commit 87056ea65c
2 changed files with 9 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
const vendorEmailTemplatesLog = window.LogConfig?.loggers?.vendorEmailTemplates ||
window.LogConfig?.createLogger?.('vendorEmailTemplates', false) ||
{ info: () => {}, debug: () => {}, warn: () => {}, error: console.error };
{ info: () => {}, debug: () => {}, warn: () => {}, error: () => {} };
vendorEmailTemplatesLog.info('Loading...');