mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 00:09:35 +00:00
fix: dashboard cache issue with websocket (#5725)
- panel response not cached for dashboard panel. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced state caching mechanism when closing search operations - Improved data retrieval efficiency by preserving panel state in cache <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -710,6 +710,9 @@ export const usePanelDataLoader = (
|
||||
// set loading to false
|
||||
state.loading = false;
|
||||
state.isOperationCancelled = false;
|
||||
|
||||
// save current state to cache
|
||||
saveCurrentStateToCache();
|
||||
};
|
||||
|
||||
const handleSearchError = (
|
||||
|
||||
Reference in New Issue
Block a user