feat: label to distinguish release type in All tab in Artist page; build: v1.3.6
This commit is contained in:
parent
22f0d2dca6
commit
d20540f46e
File diff suppressed because one or more lines are too long
@ -56,17 +56,19 @@
|
|||||||
<img class="mr-4 rounded coverart" :src="release.releaseCover" style="width: 56px; height: 56px" />
|
<img class="mr-4 rounded coverart" :src="release.releaseCover" style="width: 56px; height: 56px" />
|
||||||
<i v-if="release.isReleaseExplicit" class="material-icons title-icon title-icon--explicit">explicit</i>
|
<i v-if="release.isReleaseExplicit" class="material-icons title-icon title-icon--explicit">explicit</i>
|
||||||
<div>
|
<div>
|
||||||
<span class="flex hover:text-primary">{{ release.releaseTitle }}</span>
|
<span class="flex hover:text-primary">
|
||||||
<!-- <span v-show="currentTab === 'all'" class="flex text-xs opacity-50 uppercase-first-letter">
|
{{ release.releaseTitle }}
|
||||||
{{ release.releaseType }}
|
|
||||||
</span> -->
|
|
||||||
</div>
|
|
||||||
<i
|
<i
|
||||||
v-if="checkNewRelease(release.releaseDate)"
|
v-if="checkNewRelease(release.releaseDate)"
|
||||||
class="material-icons title-icon title-icon--right title-icon--new"
|
class="material-icons title-icon title-icon--right title-icon--new"
|
||||||
>
|
>
|
||||||
fiber_new
|
fiber_new
|
||||||
</i>
|
</i>
|
||||||
|
</span>
|
||||||
|
<span v-show="currentTab === 'all'" class="block text-xs opacity-50 uppercase-first-letter">
|
||||||
|
{{ $tc(`globals.listTabs.${release.releaseType}`) }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
<td class="w-32 text-center xl:w-40">{{ release.releaseDate }}</td>
|
<td class="w-32 text-center xl:w-40">{{ release.releaseDate }}</td>
|
||||||
<td class="w-20 text-center xl:w-32">{{ release.releaseTracksNumber }}</td>
|
<td class="w-20 text-center xl:w-32">{{ release.releaseTracksNumber }}</td>
|
||||||
|
@ -25,7 +25,7 @@ function formatArtistReleases(artistReleases) {
|
|||||||
releaseDate: getPropertyWithFallback(release, 'release_date'),
|
releaseDate: getPropertyWithFallback(release, 'release_date'),
|
||||||
releaseTracksNumber: getPropertyWithFallback(release, 'nb_tracks'),
|
releaseTracksNumber: getPropertyWithFallback(release, 'nb_tracks'),
|
||||||
releaseLink: getPropertyWithFallback(release, 'link'),
|
releaseLink: getPropertyWithFallback(release, 'link'),
|
||||||
releaseType: getPropertyWithFallback(release, 'type'),
|
releaseType: getPropertyWithFallback(release, 'record_type'),
|
||||||
isReleaseExplicit: getPropertyWithFallback(release, 'explicit_lyrics')
|
isReleaseExplicit: getPropertyWithFallback(release, 'explicit_lyrics')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user