mirror of
https://github.com/grafana/grafana.git
synced 2025-09-29 06:34:04 +08:00
ShareModal: Fix share link tracking (#86940)
This commit is contained in:
@ -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>) {
|
||||
|
Reference in New Issue
Block a user