fix: datasource

This commit is contained in:
zxhlyh 2025-06-10 15:40:15 +08:00
parent f4789d750d
commit 978118f770
2 changed files with 14 additions and 12 deletions

View File

@ -175,6 +175,7 @@ const Popup = () => {
</div>
<RiArrowRightUpLine className='ml-2 h-4 w-4 shrink-0' />
</Button>
<a href='/datasets?category=api' target='_blank'>
<Button
className='w-full hover:bg-state-accent-hover hover:text-text-accent'
variant='tertiary'
@ -186,6 +187,7 @@ const Popup = () => {
</div>
<RiArrowRightUpLine className='ml-2 h-4 w-4 shrink-0' />
</Button>
</a>
<Divider className='my-2' />
<Button
className='w-full hover:bg-state-accent-hover hover:text-text-accent'

View File

@ -107,7 +107,7 @@ const Panel: FC<NodePanelProps<DataSourceNodeType>> = ({ id, data }) => {
)
}
{
isAuthorized && !isLocalFile && (
isAuthorized && !isLocalFile && !!formSchemas?.length && (
<BoxGroupField
boxGroupProps={{
boxProps: { withBorderBottom: true },