Skip to content

Commit

Permalink
just passing URL in ShareApi for episodee link copy
Browse files Browse the repository at this point in the history
  • Loading branch information
bonomite committed Apr 14, 2023
1 parent 6bb03f4 commit 3fc5fa2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions components/EpisodeHead.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,9 @@ const onToggleTranscript = () => {
const copyTranscriptLink = () => {
shareAPI(
{
title: props.episode['title'],
text: props.episode['tease'],
url: `${props.episode['url']}transcript`,
},
'Episode link copied to the clipboard'
//true
)
$analytics.sendEvent('click_tracking', {
event_category: 'Click Tracking',
Expand Down
3 changes: 0 additions & 3 deletions components/EpisodeTools.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,11 @@ const shareItems = ref([
)
shareAPI(
{
title: props.episode['title'],
text: props.episode['tease'],
url: `${props.episode['url']}${
props.isTranscript ? 'transcript' : ''
}`,
},
'Episode link copied to the clipboard'
//true
)
$analytics.sendEvent('click_tracking', {
event_category: 'Click Tracking',
Expand Down

0 comments on commit 3fc5fa2

Please sign in to comment.