From 23dbe197324f252265e0ca6cfb916ba8a043f0ac Mon Sep 17 00:00:00 2001 From: YukiOnishi <58220747+YukiOnishi1129@users.noreply.github.com> Date: Tue, 27 Aug 2024 11:00:59 +0900 Subject: [PATCH] fix: search keyword --- .../articles/Dialog/Keyword/ArticleKeyWordSearchDialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/client/src/features/search/components/articles/Dialog/Keyword/ArticleKeyWordSearchDialog.tsx b/web/client/src/features/search/components/articles/Dialog/Keyword/ArticleKeyWordSearchDialog.tsx index 1127a670..0b9f0cd8 100644 --- a/web/client/src/features/search/components/articles/Dialog/Keyword/ArticleKeyWordSearchDialog.tsx +++ b/web/client/src/features/search/components/articles/Dialog/Keyword/ArticleKeyWordSearchDialog.tsx @@ -80,7 +80,7 @@ const ArticleKeyWordSearchDialogContent: FC< const onSubmit = async (values: z.infer) => { let keywordPath = ""; - if (!!values.keyword && values.keyword.trim() === "") { + if (!!values.keyword && values.keyword.trim() !== "") { keywordPath = `&keyword=${values.keyword}`; }