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(); fetchData();
" "
/> />
<div class="ui hidden divider" />
<!-- Add a header if needed --> <!-- Add a header if needed -->

View File

@ -29,26 +29,6 @@
</button> </button>
</div> </div>
</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 <section
v-if="isLoadingAlbums" v-if="isLoadingAlbums"
class="ui vertical stripe segment" class="ui vertical stripe segment"
@ -82,6 +62,26 @@
</translate> </translate>
</button> </button>
</section> </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"> <section class="ui vertical stripe segment">
<h2> <h2>
<translate translate-context="Content/*/Title/Noun"> <translate translate-context="Content/*/Title/Noun">