fix: #4142 Histogram chart display in saved view (#4145)

#4142  got solved by this PR

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **New Features**
- Enhanced the search functionality to refresh histogram data
automatically upon initiating a search, ensuring users see the most
current results.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Sai Nikhil
2024-08-07 19:21:46 +05:30
committed by GitHub
parent ebbd241142
commit 6ec7dbba42
+1
View File
@@ -1942,6 +1942,7 @@ export default defineComponent({
setTimeout(async () => {
try {
searchObj.loading = true;
searchObj.meta.refreshHistogram = true;
await extractFields();
await getQueryData();
store.dispatch("setSavedViewFlag", false);