owntone-server/htdocs/assets/ListItemPlaylistSpotify.js
2023-12-14 20:00:28 +00:00

2 lines
736 B
JavaScript

import{_ as o,o as c,c as p,a as t,t as l,z as r}from"./index.js";const d={name:"ListItemPlaylistSpotify",props:["playlist"],methods:{open_playlist(){this.$router.push({name:"playlist-spotify",params:{id:this.playlist.id}})}}},_={class:"media is-align-items-center"},m=["textContent"],y=["textContent"],h={class:"media-right"};function f(a,s,e,u,x,i){return c(),p("div",_,[t("div",{class:"media-content is-clickable is-clipped",onClick:s[0]||(s[0]=(...n)=>i.open_playlist&&i.open_playlist(...n))},[t("h1",{class:"title is-6",textContent:l(e.playlist.name)},null,8,m),t("h2",{class:"subtitle is-7",textContent:l(e.playlist.owner.display_name)},null,8,y)]),t("div",h,[r(a.$slots,"actions")])])}const k=o(d,[["render",f]]);export{k as L};