Add more menu on playlist item row to show library item more menu #914

This commit is contained in:
advplyr 2023-11-03 15:53:38 -05:00
parent 74b488ad0f
commit e9251db647
5 changed files with 535 additions and 279 deletions

View file

@ -11,7 +11,7 @@
<p v-if="totalDuration" class="text-sm text-gray-200">{{ totalDurationPretty }}</p>
</div>
<template v-for="item in items">
<tables-playlist-item-table-row :key="item.id" :item="item" :playlist-id="playlistId" />
<tables-playlist-item-table-row :key="item.id" :item="item" :playlist-id="playlistId" @showMore="showMore" />
</template>
</div>
</template>
@ -41,7 +41,11 @@ export default {
return this.$elapsedPrettyExtended(this.totalDuration)
}
},
methods: {},
methods: {
showMore(playlistItem) {
this.$emit('showMore', playlistItem)
}
},
mounted() {}
}
</script>