fix missing error messages
This commit is contained in:
parent
28dfdb82c1
commit
a98e5ab486
@ -69,7 +69,7 @@
|
|||||||
album: null as null | Album,
|
album: null as null | Album,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async mounted() {
|
async created() {
|
||||||
this.album = await this.$api.getAlbumDetails(this.id)
|
this.album = await this.$api.getAlbumDetails(this.id)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
@ -17,10 +17,8 @@
|
|||||||
items: null as null | Artist[]
|
items: null as null | Artist[]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
async created() {
|
||||||
this.$api.getArtists().then(items => {
|
this.items = await this.$api.getArtists()
|
||||||
this.items = items
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
@ -20,10 +20,8 @@
|
|||||||
items: [],
|
items: [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
async created() {
|
||||||
this.$api.getGenres().then((items) => {
|
this.items = await this.$api.getGenres()
|
||||||
this.items = items
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
@ -31,10 +31,8 @@
|
|||||||
result: null as any,
|
result: null as any,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
async created() {
|
||||||
this.$api.getStarred().then(result => {
|
this.result = await this.$api.getStarred()
|
||||||
this.result = result
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user