mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-23 11:46:28 +00:00
cac109b497
The Resources page was showing 0 resources because the store was only populated when /api/state was called (from the dashboard). Now the resources are populated on-demand when /api/resources is accessed. Changes: - Added StateProvider interface to ResourceHandlers - SetStateProvider() method for injecting the monitor - HandleGetResources now calls PopulateFromSnapshot before querying - Router injects monitor as state provider during SetMonitor() This ensures the /resources page works even when accessed directly without visiting the main dashboard first.