From 67e2afc4fe19fcc0ac7dc142af635d4baa8ac1d3 Mon Sep 17 00:00:00 2001 From: Fauvet Matthis Date: Fri, 21 Jun 2024 16:41:31 +0200 Subject: [PATCH] modified code --- onzer.riot | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/onzer.riot b/onzer.riot index 22135d8..e251b2a 100644 --- a/onzer.riot +++ b/onzer.riot @@ -39,7 +39,6 @@ this.update(); }, onMounted(){ - this.paintButton(); this.update(); }, edit(e) { @@ -65,8 +64,8 @@ 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 this.fetchData();