fix missing error messages

This commit is contained in:
Thomas Amland
2021-04-25 18:19:45 +02:00
parent 28dfdb82c1
commit a98e5ab486
4 changed files with 7 additions and 13 deletions
+2 -4
View File
@@ -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>