fix(front): remove debug logs from ArtistBase
This commit is contained in:
parent
3d710dbb02
commit
a3d1dd8c16
|
@ -58,7 +58,6 @@ const discogsUrl = computed(() => `https://discogs.com/search/?type=artist&title
|
||||||
const publicLibraries = computed(() => libraries.value?.filter(library => library.privacy_level === 'everyone') ?? [])
|
const publicLibraries = computed(() => libraries.value?.filter(library => library.privacy_level === 'everyone') ?? [])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const cover = computed(() => {
|
const cover = computed(() => {
|
||||||
const artistCover: Cover | undefined = object.value?.cover
|
const artistCover: Cover | undefined = object.value?.cover
|
||||||
|
|
||||||
|
@ -71,12 +70,6 @@ const cover = computed(() => {
|
||||||
)
|
)
|
||||||
?.cover
|
?.cover
|
||||||
|
|
||||||
// TODO: Find out why artistCover in fake-data is null but the type is undefined
|
|
||||||
console.log("ARTIST", artistCover);
|
|
||||||
console.log("ALBUM", albumCover);
|
|
||||||
console.log("TRACK", trackCover);
|
|
||||||
|
|
||||||
// Use the fallback cover in case you can't find any cover for the artist:
|
|
||||||
const fallback : Cover = {
|
const fallback : Cover = {
|
||||||
uuid: '',
|
uuid: '',
|
||||||
urls: {
|
urls: {
|
||||||
|
|
Loading…
Reference in New Issue