diff --git a/src/layouts/DefaultLayout.vue b/src/layouts/DefaultLayout.vue
index 4e8de7f72..6e2cc1a28 100644
--- a/src/layouts/DefaultLayout.vue
+++ b/src/layouts/DefaultLayout.vue
@@ -38,10 +38,6 @@
Switch to
-
+
-
+
-
+
@@ -268,6 +267,14 @@ const navigationMenuComponents = computed(() => {
return components
})
+const shouldRenderInfoMenu = computed(() => {
+ if (helpMenu.value === undefined) return false
+ const paths = helpMenu.value.path.map((item: any) => item.path)
+ paths.push('about')
+ const path = route.path.substring(route.path.lastIndexOf('/') + 1)
+ return paths.includes(path)
+})
+
async function getLocalOrRemoteFile(localBase: string, relativePath?: string) {
if (!relativePath) return
const remoteUrl = getResourcesStaticUrl(relativePath)