mirror of https://github.com/grafana/grafana.git
Dashboards: Fix reporting of save dashboard interaction (#109701)
Fix reporting of save dashboard interaction
This commit is contained in:
parent
42e0afa5c1
commit
8dd598942f
|
|
@ -71,7 +71,7 @@ export function useSaveDashboard(isCopy = false) {
|
||||||
url: resultData.url,
|
url: resultData.url,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
reportInteraction(`grafana_dashboard_${resultData.uid ? 'saved' : 'created'}`, {
|
reportInteraction(`grafana_dashboard_${options.isNew ? 'created' : 'saved'}`, {
|
||||||
name: saveModel.title,
|
name: saveModel.title,
|
||||||
url: resultData.url,
|
url: resultData.url,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue