Resolve "Album list in artist view under track table"

This commit is contained in:
Marcos Peña 2021-12-08 18:29:17 +00:00 committed by Georg Krause
parent 84edd35a71
commit 9f30e4ec10
2 changed files with 20 additions and 21 deletions

View File

@ -9,7 +9,6 @@
fetchData();
"
/>
<div class="ui hidden divider" />
<!-- Add a header if needed -->

View File

@ -29,26 +29,6 @@
</button>
</div>
</div>
<section
v-if="tracks.length > 0"
class="ui vertical stripe segment"
>
<track-table
:is-artist="true"
:show-position="false"
:track-only="true"
:tracks="tracks.slice(0,5)"
>
<template slot="header">
<h2>
<translate translate-context="Content/Artist/Title">
New tracks by this artist
</translate>
</h2>
<div class="ui hidden divider" />
</template>
</track-table>
</section>
<section
v-if="isLoadingAlbums"
class="ui vertical stripe segment"
@ -82,6 +62,26 @@
</translate>
</button>
</section>
<section
v-if="tracks.length > 0"
class="ui vertical stripe segment"
>
<track-table
:is-artist="true"
:show-position="false"
:track-only="true"
:tracks="tracks.slice(0,5)"
>
<template slot="header">
<h2>
<translate translate-context="Content/Artist/Title">
New tracks by this artist
</translate>
</h2>
<div class="ui hidden divider" />
</template>
</track-table>
</section>
<section class="ui vertical stripe segment">
<h2>
<translate translate-context="Content/*/Title/Noun">