From 5120b4e9599ffa20e3a852b3e415660c6c24232d Mon Sep 17 00:00:00 2001 From: Daishan Peng Date: Thu, 7 Nov 2024 13:20:23 -0700 Subject: [PATCH] Address comments Signed-off-by: Daishan Peng --- ui/admin/app/components/knowledge/KnowledgeSourceDetail.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/admin/app/components/knowledge/KnowledgeSourceDetail.tsx b/ui/admin/app/components/knowledge/KnowledgeSourceDetail.tsx index 9fd3df5b..cabfb7d7 100644 --- a/ui/admin/app/components/knowledge/KnowledgeSourceDetail.tsx +++ b/ui/admin/app/components/knowledge/KnowledgeSourceDetail.tsx @@ -497,10 +497,7 @@ const KnowledgeSourceDetail: FC = ({ knowledgeSource.syncSchedule ?? "" ) && - knowledgeSource.syncSchedule !== - undefined && - knowledgeSource.syncSchedule !== - "" + !!knowledgeSource.syncSchedule } />