fixed hardsub modal not dissapearing
This commit is contained in:
parent
3738ce2c9f
commit
ca41ed0727
@ -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 () => {
|
||||
|
Reference in New Issue
Block a user