-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not throw error on dashboards with undeclared query parameters or …
…on widget creation. (#10536) * Do not throw error on dashboards with undeclared query parameters. We've recently implemented a time range info for dashboard widgets. This PR is fixing a runtime error which occurred when no search types exist. This is the case when a filter with an undeclared parameter is being applied. * Do not throw error when widget id does not exist in search widget mapping. * Fixing `TimrangeInfo.test` by using `mackReturnValueOnce` instead of `mockReturnValue`.`
- Loading branch information
Showing
2 changed files
with
60 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters