mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-19 02:04:38 +02:00
Add more menu on playlist item row to show library item more menu #914
This commit is contained in:
parent
74b488ad0f
commit
e9251db647
5 changed files with 535 additions and 279 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue