ShareModal: Fix share link tracking (#86940)
This commit is contained in:
1 parent
d1b67847a2
commit
9f07c37fac
1 file changed
+2
-2
@@ -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