mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Analytics: Restore property in export json event (#80099)
This commit is contained in:
parent
5bfb799c0d
commit
6d81e08e72
@ -39,7 +39,7 @@ export class ShareExport extends PureComponent<Props, State> {
|
||||
const { dashboard } = this.props;
|
||||
const { shareExternally } = this.state;
|
||||
|
||||
DashboardInteractions.exportSaveJsonClicked();
|
||||
DashboardInteractions.exportSaveJsonClicked({ externally: shareExternally });
|
||||
|
||||
if (shareExternally) {
|
||||
this.exporter.makeExportable(dashboard).then((dashboardJson) => {
|
||||
@ -53,7 +53,7 @@ export class ShareExport extends PureComponent<Props, State> {
|
||||
onViewJson = () => {
|
||||
const { dashboard } = this.props;
|
||||
const { shareExternally } = this.state;
|
||||
DashboardInteractions.exportViewJsonClicked();
|
||||
DashboardInteractions.exportViewJsonClicked({ externally: shareExternally });
|
||||
|
||||
if (shareExternally) {
|
||||
this.exporter.makeExportable(dashboard).then((dashboardJson) => {
|
||||
|
@ -79,7 +79,7 @@ export function getPanelChromeProps(props: CommonProps) {
|
||||
|
||||
const onCancelQuery = () => {
|
||||
props.panel.getQueryRunner().cancelQuery();
|
||||
DashboardInteractions.panelCancelQueryClicked();
|
||||
DashboardInteractions.panelCancelQueryClicked({ data_state: props.data.state });
|
||||
};
|
||||
|
||||
const padding: PanelPadding = props.plugin.noPadding ? 'none' : 'md';
|
||||
|
Loading…
Reference in New Issue
Block a user