Skip to content

Commit

Permalink
FreeTubeApp#1414: Add share button ton Channel view
Browse files Browse the repository at this point in the history
- renamed target type in ft-share-button.vue
- updated implementation in Channel.vue
  • Loading branch information
Alhuin committed Nov 13, 2022
1 parent 2156174 commit ad9dcdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<ft-icon-button
ref="iconButton"
:title="$t(`Share.Share ${mediaType}`)"
:title="$t(`Share.Share ${shareTargetType}`)"
:theme="isVideo?'secondary':'base-no-default'"
:icon="['fas', 'share-alt']"
dropdown-position-x="left"
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/Channel/Channel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<div class="channelInfoActionsContainer">
<ft-share-button
:id="id"
media-type="Channel"
share-target-type="Channel"
class="shareIcon"
/>

Expand Down

0 comments on commit ad9dcdd

Please sign in to comment.