This commit is contained in:
ArabCoders 2024-12-29 21:39:51 +03:00
parent 1f2db7ad5e
commit 359d866a99

View file

@ -139,9 +139,9 @@ onMounted(async () => {
const s = useStateStore()
useHead({ title: `YTPTube: ( ${Object.keys(s.queue).length || 0} | ${Object.keys(s.history).length || 0} )` })
watch([s.queue, s.history], () => {
const title = `YTPTube: ( ${Object.keys(s.queue.length) || 0} | ${Object.keys(s.history.length) || 0} )`
const title = `YTPTube: ( ${Object.keys(s.queue).length || 0} | ${Object.keys(s.history).length || 0} )`
useHead({ title })
})
}, { deep: true })
}
applyPreferredColorScheme(selectedTheme.value)
} catch (e) {