modified code

This commit is contained in:
Matthis FAUVET 2024-06-21 16:32:53 +02:00
parent 403ef7b304
commit 9699005e9e

View File

@ -65,16 +65,13 @@
this.song_style = "isActivate";
this.state.search = "songs";
}
if(old_search != this.state.search) {
this.list();
}
this.update();
if(old_search != this.state.search){this.list();}
this.update();
},
async list(){
let data = await props.items;
this.state = {
placeholder: "Rechercher dans les songs",
items: data.results;
items: await this.fetchData()
};
this.update();
},