mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-01 02:03:45 -04:00
29 lines
610 B
Vue
29 lines
610 B
Vue
<template>
|
|
<div class="media">
|
|
<div class="media-content fd-has-action is-clipped" @click="open_playlist">
|
|
<h1 class="title is-6" v-text="playlist.name" />
|
|
<h2 class="subtitle is-7" v-text="playlist.owner.display_name" />
|
|
</div>
|
|
<div class="media-right">
|
|
<slot name="actions" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'SpotifyListItemPlaylist',
|
|
props: ['playlist'],
|
|
|
|
methods: {
|
|
open_playlist: function () {
|
|
this.$router.push({
|
|
path: '/music/spotify/playlists/' + this.playlist.id
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style></style>
|