mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Search: Fix report search usage from throwing in console (#60382)
This commit is contained in:
parent
8d5b19bc61
commit
ecf83a6df9
@ -239,7 +239,7 @@ export class SearchStateManager extends StateManagerBase<SearchState> {
|
||||
/**
|
||||
* Caller should handle debounce
|
||||
*/
|
||||
onReportSearchUsage() {
|
||||
onReportSearchUsage = () => {
|
||||
reportDashboardListViewed(this.state.eventTrackingNamespace, {
|
||||
layout: this.state.layout,
|
||||
starred: this.state.starred,
|
||||
@ -248,7 +248,7 @@ export class SearchStateManager extends StateManagerBase<SearchState> {
|
||||
tagCount: this.state.tag?.length,
|
||||
includePanels: this.state.includePanels,
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
let stateManager: SearchStateManager;
|
||||
|
Loading…
Reference in New Issue
Block a user