modified code

This commit is contained in:
Matthis FAUVET 2024-06-21 16:41:31 +02:00
parent f9c2338dd2
commit 67e2afc4fe

View File

@ -39,7 +39,6 @@
this.update(); this.update();
}, },
onMounted(){ onMounted(){
this.paintButton();
this.update(); this.update();
}, },
edit(e) { edit(e) {
@ -65,8 +64,8 @@
this.song_style = "isActivate"; this.song_style = "isActivate";
this.state.search = "songs"; this.state.search = "songs";
} }
if(old_search != this.state.search){this.list();} if(old_search != this.state.search){this.list();}
this.update(); this.update();
}, },
async list(){ async list(){
let data = await this.fetchData(); let data = await this.fetchData();