docs: consistent app.vue and error.vue

This commit is contained in:
Benjamin Canac
2024-02-20 10:47:50 +01:00
parent 6d4eac0dec
commit cb2fd1e940
2 changed files with 30 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ const navigation = computed(() => {
]
}
return nav.value.filter(item => item._path !== '/dev')
return nav.value?.filter(item => item._path !== '/dev') || []
})
const color = computed(() => colorMode.value === 'dark' ? '#18181b' : 'white')