From 76c5dc8999efaa3c3e72793573801fc99df007d3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 22 Sep 2021 21:58:08 +0900 Subject: fix(client): fix #7774 --- src/client/ui/_common_/header.vue | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/client') diff --git a/src/client/ui/_common_/header.vue b/src/client/ui/_common_/header.vue index eb8a1b9c0a..1e0db9a3a1 100644 --- a/src/client/ui/_common_/header.vue +++ b/src/client/ui/_common_/header.vue @@ -28,14 +28,14 @@ {{ tab.title }} -
- - - -
+
+ + + +
@@ -83,6 +83,7 @@ export default defineComponent({ }, shouldShowMenu() { + if (this.info == null) return false; if (this.info.actions != null && this.narrow) return true; if (this.info.menu != null) return true; if (this.info.share != null) return true; -- cgit v1.2.3-freya