mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-04 19:43:22 -05:00
27 lines
519 B
Vue
27 lines
519 B
Vue
<template>
|
|
<div class="media">
|
|
<div class="media-content fd-has-action is-clipped" v-on:click="open_artist">
|
|
<h1 class="title is-6">{{ artist.name }}</h1>
|
|
</div>
|
|
<div class="media-right">
|
|
<slot name="actions"></slot>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'SpotifyListItemArtist',
|
|
props: ['artist'],
|
|
|
|
methods: {
|
|
open_artist: function () {
|
|
this.$router.push({ path: '/music/spotify/artists/' + this.artist.id })
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|