mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-01 10:03:24 -05:00
9d62c94d86
Whenever an artist or album page is opened from a modal dialog, the latter is properly closed. Moreover, the views have been renamed for better maintainability.
29 lines
554 B
Vue
29 lines
554 B
Vue
<template>
|
|
<div class="media is-align-items-center">
|
|
<div class="media-content is-clickable is-clipped" @click="open_artist">
|
|
<h1 class="title is-6" v-text="artist.name" />
|
|
</div>
|
|
<div class="media-right">
|
|
<slot name="actions" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'ListItemArtistSpotify',
|
|
props: ['artist'],
|
|
|
|
methods: {
|
|
open_artist() {
|
|
this.$router.push({
|
|
name: 'music-spotify-artist',
|
|
params: { id: this.artist.id }
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style></style>
|