diff --git a/onzer.riot b/onzer.riot index 8a6f7bf..be160d4 100644 --- a/onzer.riot +++ b/onzer.riot @@ -18,9 +18,10 @@ export default { async onBeforeMount(props){ this.state.placeholder = 'Rechercher dans les albums'; + let test = await this.fetchSong(); this.state = { placeholder: "caca", - items: await this.fetchSong() + items: test.results; }; console.log(this.state); },