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}`; }