Analytics: Restore property in export json event (#80099)

This commit is contained in:
Ezequiel Victorero 2024-01-11 07:38:14 -03:00 committed by GitHub
parent 5bfb799c0d
commit 6d81e08e72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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) => {

View File

@ -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';