Remove overly eager Gallery automode. No longer switches to gallery when merely changing sort column.
This commit is contained in:
1 parent
a44a50878c
commit
76659c6cdb
1 file changed
+2
-2
@@ -73,8 +73,8 @@ watchEffect(() => {
|
||||
store.query = props.query
|
||||
})
|
||||
|
||||
watch(documents, (docs) => {
|
||||
store.prefs.gallery = docs.some(d => d.previewable)
|
||||
watch([() => props.path.join('/'), () => props.query], () => {
|
||||
store.prefs.gallery = documents.value.some(d => d.previewable)
|
||||
}, { immediate: true })
|
||||
</script>
|
||||
|
||||
|
||||
Reference in new issue
Block a user