modified code
This commit is contained in:
parent
403ef7b304
commit
9699005e9e
@ -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();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user