From ca41ed0727b001578062795a0260ffe33e4a1da1 Mon Sep 17 00:00:00 2001 From: stratuma Date: Mon, 8 Jul 2024 15:27:13 +0200 Subject: [PATCH] fixed hardsub modal not dissapearing --- pages/addanime.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/addanime.vue b/pages/addanime.vue index 11e99a9..7e34937 100644 --- a/pages/addanime.vue +++ b/pages/addanime.vue @@ -859,6 +859,7 @@ const toggleSub = (lang: { name: string | undefined; locale: string }) => { const toggleHardsub = (lang: { name: string | undefined; locale: string }, format: string) => { if (selectedHardSub.value && selectedHardSub.value.format === format && selectedHardSub.value.name === lang.name) { selectedHardSub.value = undefined + selectHardSub.value = false return } @@ -866,6 +867,7 @@ const toggleHardsub = (lang: { name: string | undefined; locale: string }, forma ...lang, format: format } + selectHardSub.value = false } const addToPlaylist = async () => {