Only make the export playlist button appear if the data that exists is track data.
This commit is contained in:
parent
c8400adad5
commit
a0b17b5877
2 changed files with 7 additions and 1 deletions
|
|
@ -56,7 +56,7 @@
|
|||
</button>
|
||||
</div>
|
||||
<div
|
||||
v-if="type === 'Tracks' && data_exists"
|
||||
v-if="data_exists && is_track_data"
|
||||
id="playlist_button"
|
||||
>
|
||||
<button @click.self="event('playlist_export')">
|
||||
|
|
@ -80,6 +80,11 @@ export default {
|
|||
type: Boolean,
|
||||
required: true,
|
||||
},
|
||||
is_track_data: {
|
||||
type: Boolean,
|
||||
required: false,
|
||||
default: false,
|
||||
},
|
||||
dev: {
|
||||
type: Boolean,
|
||||
required: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue