Browse Source

fix: Integration langfuse, front-end error( #15695) (#15709)

Co-authored-by: Xiaoba Yu <xb1823725853@gmail.com>
XiaoBa 1 month ago
parent
commit
f22a1adb8b

+ 1 - 1
web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/tracing/panel.tsx

@@ -197,7 +197,7 @@ const Panel: FC = () => {
                 {t(`${I18N_PREFIX}.${enabled ? 'enabled' : 'disabled'}`)}
               </div>
             </div>
-            <InUseProviderIcon className='ml-1 h-4' />
+            {InUseProviderIcon && <InUseProviderIcon className='ml-1 h-4' />}
             <Divider type='vertical' className='h-3.5' />
             <div className='flex items-center' onClick={e => e.stopPropagation()}>
               <ConfigButton