fix: add missing icons and use Utils.showToast() for notifications
Icons: - Add cloud-download, cloud-upload, and key icons Notifications: - Replace alert() with Utils.showToast() in companies.js - Replace alert() with Utils.showToast() in content-pages.js - Add noqa comment for intentional fallback in components.js 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -557,7 +557,8 @@ function adminComponents() {
|
||||
Utils.showToast(messages[type] || messages.info, type);
|
||||
} else {
|
||||
componentsLog.error('Utils.showToast not available');
|
||||
alert(messages[type] || messages.info); // Fallback to alert
|
||||
// noqa: JS-009 - Fallback for component showcase when Utils not loaded
|
||||
alert(messages[type] || messages.info);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user