Update the project to run with modern uv/bun (or python/nodejs) environment #7
@ -77,8 +77,8 @@ watchEffect(() => {
|
||||
store.query = props.query
|
||||
})
|
||||
|
||||
watch(() => props.path, () => {
|
||||
store.prefs.gallery = documents.value.some(d => d.previewable)
|
||||
watch(documents, (docs) => {
|
||||
store.prefs.gallery = docs.some(d => d.previewable)
|
||||
}, { immediate: true })
|
||||
</script>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user