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) => {
|
const toggleHardsub = (lang: { name: string | undefined; locale: string }, format: string) => {
|
||||||
if (selectedHardSub.value && selectedHardSub.value.format === format && selectedHardSub.value.name === lang.name) {
|
if (selectedHardSub.value && selectedHardSub.value.format === format && selectedHardSub.value.name === lang.name) {
|
||||||
selectedHardSub.value = undefined
|
selectedHardSub.value = undefined
|
||||||
|
selectHardSub.value = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -866,6 +867,7 @@ const toggleHardsub = (lang: { name: string | undefined; locale: string }, forma
|
|||||||
...lang,
|
...lang,
|
||||||
format: format
|
format: format
|
||||||
}
|
}
|
||||||
|
selectHardSub.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
const addToPlaylist = async () => {
|
const addToPlaylist = async () => {
|
||||||
|
Reference in New Issue
Block a user