ShareModal: Fix share link tracking (#86940)

This commit is contained in:
Juan Cabanas
2024-04-25 15:38:12 -03:00
committed by GitHub
parent d1b67847a2
commit 9f07c37fac

View File

@ -126,13 +126,13 @@ export class ShareLinkTab extends SceneObjectBase<ShareLinkTabState> {
return this.state.shareUrl;
};
onCopy() {
onCopy = () => {
DashboardInteractions.shareLinkCopied({
currentTimeRange: this.state.useLockedTime,
theme: this.state.selectedTheme,
shortenURL: this.state.useShortUrl,
});
}
};
}
function ShareLinkTabRenderer({ model }: SceneComponentProps<ShareLinkTab>) {