Commit 725f7fe5 authored by Agate's avatar Agate 💬
Browse files

Added artist link on track table, also added active link class on router links

parent 4c4671f1
......@@ -21,9 +21,17 @@
<img class="ui mini image" v-if="track.album.cover" :src="backend.absoluteUrl(track.album.cover)">
<img class="ui mini image" v-else src="../../..//assets/audio/default-cover.png">
<td colspan="6">{{ track.title }}</td>
<td colspan="6">{{ track.album.title }}</td>
<td colspan="6">{{ }}</td>
<td colspan="6">
{{ track.title }}
<td colspan="6">
{{ track.album.title }}
<td colspan="6">
<router-link class="artist" :to="{name: 'browse.artist', params: {id: }}">
{{ }}
<td><track-favorite-icon :track="track"></track-favorite-icon></td>
......@@ -12,6 +12,7 @@ Vue.use(Router)
export default new Router({
mode: 'history',
linkActiveClass: 'active',
routes: [
path: '/',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment