secubox-openwrt/package/secubox
CyberMind-FR b946279106 fix: Promise rendering in flows view addFooter
Fixed "[object Promise]" display bug in the flows view.

## Problem:
- Flows view was showing "[object Promise]" text on the page
- Root cause: The `addFooter()` function was returning a Promise
- LuCI calls `addFooter()` synchronously and expects it to return nothing or DOM elements
- When a Promise is returned, LuCI tries to render it as text, showing "[object Promise]"

## Solution:
Changed from:
```javascript
addFooter: function() {
    return Promise.all([...]).then(...);
}
```

To:
```javascript
addFooter: function() {
    Promise.all([...]).then(...);  // Execute but don't return
}
```

## Technical Details:
- The `addFooter()` hook is called after `render()` for post-render initialization
- It should perform async operations but not return promises
- The promise still executes and populates the containers correctly
- Only the return value was changed (removed the `return` keyword)

## Testing:
- Deployed to router
- Flows view now displays correctly without "[object Promise]"
- Initial data loading works properly
- Polling continues to update data

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-06 19:20:07 +01:00
..
.appstore release: bump secubox hub to 0.6.1-0 2025-12-30 14:42:45 +01:00
luci-app-auth-guardian feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
luci-app-bandwidth-manager feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
luci-app-cdn-cache feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
luci-app-client-guardian feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
luci-app-crowdsec-dashboard fix: CrowdSec RPC process detection 2026-01-06 16:25:59 +01:00
luci-app-ksm-manager feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
luci-app-magicmirror feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
luci-app-media-flow feat: CrowdSec 1.7.4 Build Success + Netifyd 5.2.1 Confirmed (v0.9.2) 2026-01-06 14:18:59 +01:00
luci-app-mqtt-bridge feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
luci-app-netdata-dashboard feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
luci-app-network-modes feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
luci-app-network-tweaks feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
luci-app-secubox-admin feat: Admin Control Center with State Management (v0.9.0) 2026-01-05 10:05:32 +01:00
luci-app-secubox-bonus feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
luci-app-secubox-netifyd fix: Promise rendering in flows view addFooter 2026-01-06 19:20:07 +01:00
luci-app-system-hub feat: v0.8.3 - Complete theming, responsive & dynamic features 2026-01-05 08:43:26 +01:00
luci-app-traffic-shaper feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
luci-app-vhost-manager feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
luci-app-wireguard-dashboard feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
luci-app-zigbee2mqtt feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
secubox-app feat: Netifyd Integration & Build System Improvements (v0.9.1) 2026-01-05 17:35:11 +01:00
secubox-app-adguardhome feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
secubox-app-crowdsec fix: CrowdSec CAPI registration and enable threat intelligence 2026-01-06 18:33:23 +01:00
secubox-app-domoticz feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
secubox-app-lyrion feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
secubox-app-magicmirror feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
secubox-app-mailinabox fix(secubox-app-mailinabox): make Docker dependencies optional to allow installation 2026-01-04 09:44:33 +01:00
secubox-app-netifyd feat: CrowdSec 1.7.4 Build Success + Netifyd 5.2.1 Confirmed (v0.9.2) 2026-01-06 14:18:59 +01:00
secubox-app-nextcloud feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
secubox-app-nodogsplash feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
secubox-app-zigbee2mqtt feat: CrowdSec 1.7.4 Build Success + Netifyd 5.2.1 Confirmed (v0.9.2) 2026-01-06 14:18:59 +01:00
secubox-core feat: Netifyd Integration & Build System Improvements (v0.9.1) 2026-01-05 17:35:11 +01:00