2018-08-11 01:47:10 -04:00
|
|
|
<template>
|
|
|
|
<div class="media">
|
2022-02-19 00:39:14 -05:00
|
|
|
<div class="media-content fd-has-action is-clipped" @click="open_artist">
|
|
|
|
<h1 class="title is-6">
|
|
|
|
{{ artist.name }}
|
|
|
|
</h1>
|
2018-08-11 01:47:10 -04:00
|
|
|
</div>
|
|
|
|
<div class="media-right">
|
2022-02-19 00:39:14 -05:00
|
|
|
<slot name="actions" />
|
2018-08-11 01:47:10 -04:00
|
|
|
</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>
|
|
|
|
|
2022-02-19 00:39:14 -05:00
|
|
|
<style></style>
|