mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: removing some type assertions (#85839)
* fix some type assertions in loops * some more cleanup * some alerting fixes * put comments in correct place to ignore rule * couple more * undo SilencesFilter changes
This commit is contained in:
@@ -59,7 +59,7 @@ export class HistoryWrapper implements LocationService {
|
||||
const currentLocation = this.history.location;
|
||||
const newQuery = this.getSearchObject();
|
||||
|
||||
for (const key of Object.keys(query)) {
|
||||
for (const key in query) {
|
||||
// removing params with null | undefined
|
||||
if (query[key] === null || query[key] === undefined) {
|
||||
delete newQuery[key];
|
||||
|
||||
Reference in New Issue
Block a user