From ab2516ff70f49d5e9c4c90bc2fdeb638f379911c Mon Sep 17 00:00:00 2001 From: "banaanihillo@protonmail.ch" Date: Sat, 20 Apr 2024 17:19:43 +0300 Subject: [PATCH] Replace conditional operator with boolean --- src/components/SongItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SongItem.vue b/src/components/SongItem.vue index dfc3f72..4893285 100644 --- a/src/components/SongItem.vue +++ b/src/components/SongItem.vue @@ -136,7 +136,7 @@ const openSong = el => { class="bi bi-three-dots-vertical popup-wrap ign" @mouseenter="show = true" @mouseleave="show = false" - @click.enter="show ? show = false : show = true"> + @click.enter="show = !show">