Skip to content

Commit

Permalink
suppressed unnecessary error toast (#338)
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <[email protected]>

Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 7ab04ba)
  • Loading branch information
amsiglan authored and github-actions[bot] committed Jan 11, 2023
1 parent 805a8e9 commit 207bc17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/pages/Overview/models/OverviewViewModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class OverviewViewModelActor {
}
if (customResponse.ok) {
customResponse.response.hits.hits.forEach((hit) => (ruleById[hit._id] = hit._source));
} else {
} else if (!customResponse.error?.includes('index doesnt exist')) {
errorNotificationToast(
this.notifications,
'retrieve',
Expand Down

0 comments on commit 207bc17

Please sign in to comment.