mirror of
https://github.com/langgenius/dify.git
synced 2025-12-14 11:51:09 +00:00
fix: datasource
This commit is contained in:
parent
f4789d750d
commit
978118f770
@ -175,17 +175,19 @@ const Popup = () => {
|
|||||||
</div>
|
</div>
|
||||||
<RiArrowRightUpLine className='ml-2 h-4 w-4 shrink-0' />
|
<RiArrowRightUpLine className='ml-2 h-4 w-4 shrink-0' />
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<a href='/datasets?category=api' target='_blank'>
|
||||||
className='w-full hover:bg-state-accent-hover hover:text-text-accent'
|
<Button
|
||||||
variant='tertiary'
|
className='w-full hover:bg-state-accent-hover hover:text-text-accent'
|
||||||
disabled={!publishedAt}
|
variant='tertiary'
|
||||||
>
|
disabled={!publishedAt}
|
||||||
<div className='flex grow items-center'>
|
>
|
||||||
<RiTerminalBoxLine className='mr-2 h-4 w-4' />
|
<div className='flex grow items-center'>
|
||||||
{t('workflow.common.accessAPIReference')}
|
<RiTerminalBoxLine className='mr-2 h-4 w-4' />
|
||||||
</div>
|
{t('workflow.common.accessAPIReference')}
|
||||||
<RiArrowRightUpLine className='ml-2 h-4 w-4 shrink-0' />
|
</div>
|
||||||
</Button>
|
<RiArrowRightUpLine className='ml-2 h-4 w-4 shrink-0' />
|
||||||
|
</Button>
|
||||||
|
</a>
|
||||||
<Divider className='my-2' />
|
<Divider className='my-2' />
|
||||||
<Button
|
<Button
|
||||||
className='w-full hover:bg-state-accent-hover hover:text-text-accent'
|
className='w-full hover:bg-state-accent-hover hover:text-text-accent'
|
||||||
|
|||||||
@ -107,7 +107,7 @@ const Panel: FC<NodePanelProps<DataSourceNodeType>> = ({ id, data }) => {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
isAuthorized && !isLocalFile && (
|
isAuthorized && !isLocalFile && !!formSchemas?.length && (
|
||||||
<BoxGroupField
|
<BoxGroupField
|
||||||
boxGroupProps={{
|
boxGroupProps={{
|
||||||
boxProps: { withBorderBottom: true },
|
boxProps: { withBorderBottom: true },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user