enable split view only on +2 languages (#8197)

This commit is contained in:
Nitwel
2021-09-21 14:35:47 +02:00
committed by GitHub
parent 5b37bd6480
commit a66c4b24e1

View File

@@ -134,7 +134,7 @@ export default defineComponent({
});
const splitViewAvailable = computed(() => {
return width.value > 960;
return width.value > 960 && languageOptions.value.length > 1;
});
const splitViewEnabled = computed(() => {