Skip to content

Commit 1b71a62

Browse files
suppressed unnecessary error toast (#338) (#342)
Signed-off-by: Amardeepsingh Siglani <[email protected]> Signed-off-by: Amardeepsingh Siglani <[email protected]> (cherry picked from commit 7ab04ba) Co-authored-by: Amardeepsingh Siglani <[email protected]>
1 parent 805a8e9 commit 1b71a62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/pages/Overview/models/OverviewViewModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class OverviewViewModelActor {
7878
}
7979
if (customResponse.ok) {
8080
customResponse.response.hits.hits.forEach((hit) => (ruleById[hit._id] = hit._source));
81-
} else {
81+
} else if (!customResponse.error?.includes('index doesnt exist')) {
8282
errorNotificationToast(
8383
this.notifications,
8484
'retrieve',

0 commit comments

Comments
 (0)