|
@@ -78,6 +78,7 @@
|
|
</p>
|
|
</p>
|
|
<div class="universal-item-actions">
|
|
<div class="universal-item-actions">
|
|
<tippy
|
|
<tippy
|
|
|
|
+ v-if="$parent.loggedIn"
|
|
interactive="true"
|
|
interactive="true"
|
|
placement="left"
|
|
placement="left"
|
|
theme="songActions"
|
|
theme="songActions"
|
|
@@ -100,7 +101,6 @@
|
|
<div class="youtube-icon"></div>
|
|
<div class="youtube-icon"></div>
|
|
</a>
|
|
</a>
|
|
<i
|
|
<i
|
|
- v-if="$parent.loggedIn"
|
|
|
|
class="material-icons report-icon"
|
|
class="material-icons report-icon"
|
|
@click="report(song)"
|
|
@click="report(song)"
|
|
content="Report Song"
|
|
content="Report Song"
|
|
@@ -108,10 +108,7 @@
|
|
>
|
|
>
|
|
flag
|
|
flag
|
|
</i>
|
|
</i>
|
|
- <add-to-playlist-dropdown
|
|
|
|
- v-if="$parent.loggedIn"
|
|
|
|
- :song="song"
|
|
|
|
- >
|
|
|
|
|
|
+ <add-to-playlist-dropdown :song="song">
|
|
<i
|
|
<i
|
|
slot="button"
|
|
slot="button"
|
|
class="material-icons add-to-playlist-icon"
|
|
class="material-icons add-to-playlist-icon"
|
|
@@ -139,6 +136,15 @@
|
|
>
|
|
>
|
|
<slot name="actions" />
|
|
<slot name="actions" />
|
|
</tippy>
|
|
</tippy>
|
|
|
|
+ <a
|
|
|
|
+ v-else
|
|
|
|
+ target="_blank"
|
|
|
|
+ :href="`https://www.youtube.com/watch?v=${song.songId}`"
|
|
|
|
+ content="View on Youtube"
|
|
|
|
+ v-tippy
|
|
|
|
+ >
|
|
|
|
+ <div class="youtube-icon"></div>
|
|
|
|
+ </a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|