player: add album link

This commit is contained in:
Thomas Amland 2020-07-31 19:58:40 +02:00
parent 17c0c8317f
commit 8c3feee5a1

View File

@ -1,7 +1,9 @@
<template> <template>
<div class="d-flex player"> <div class="d-flex player">
<div v-if="track" class="d-none d-sm-block"> <div v-if="track" class="d-none d-sm-block">
<b-img :src="track.image" block width="80px" height="80px"></b-img> <router-link :to="{name: 'album', params: {id: track.albumId}}">
<b-img :src="track.image" block width="80px" height="80px"></b-img>
</router-link>
</div> </div>
<div class="flex-fill"> <div class="flex-fill">
<!-- Progress ---> <!-- Progress --->