From e7a0a567db819c0cbff310b1c378f5a649facb2b Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Mon, 3 Mar 2025 11:50:19 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/components/global/SearchMarker.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/components/global/SearchMarker.vue b/packages/frontend/src/components/global/SearchMarker.vue index 53a070a03a..fe80e22653 100644 --- a/packages/frontend/src/components/global/SearchMarker.vue +++ b/packages/frontend/src/components/global/SearchMarker.vue @@ -18,10 +18,11 @@ const props = defineProps<{ icon?: string; keywords?: string[]; children?: string[]; + childrenHidden?: boolean; }>(); const hash = window.location.hash.slice(1); -const highlighted = hash === props.markerId || (props.children && props.children.includes(hash)); +const highlighted = hash === props.markerId || (props.children && props.childrenHidden && props.children.includes(hash));