secubox-openwrt/luci-app-netdata-dashboard/htdocs/luci-static/resources/view/netdata-dashboard
CyberMind-FR 8b0d75a8d9 fix(netdata-dashboard): correct API module imports in all views
- Changed from 'require netdata-dashboard.api as api' to 'require netdata-dashboard/api as API'
- Updated all api. references to API. in realtime.js, system.js, network.js, and processes.js
- Resolves "api.getAllData is not a function" and "api.getCpu is not a function" errors

The dot notation (netdata-dashboard.api) doesn't work with LuCI's module loader.
The correct syntax uses slash (netdata-dashboard/api) and follows the convention
of uppercase API for consistency with other modules.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-31 11:03:14 +01:00
..
dashboard.js feat: theme-aligned monitoring and seccubox logs 2025-12-29 15:41:13 +01:00
network.js fix(netdata-dashboard): correct API module imports in all views 2025-12-31 11:03:14 +01:00
processes.js fix(netdata-dashboard): correct API module imports in all views 2025-12-31 11:03:14 +01:00
realtime.js fix(netdata-dashboard): correct API module imports in all views 2025-12-31 11:03:14 +01:00
settings.js chore: sync luCI modules 2025-12-30 17:17:12 +01:00
system.js fix(netdata-dashboard): correct API module imports in all views 2025-12-31 11:03:14 +01:00