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