| | |
| | | import DSLExportConfirmModal from '@/app/components/workflow/dsl-export-confirm-modal' |
| | | import { fetchWorkflowDraft } from '@/service/workflow' |
| | | import { fetchInstalledAppList } from '@/service/explore' |
| | | import { AppTypeIcon } from '@/app/components/app/type-selector' |
| | | // import { AppTypeIcon } from '@/app/components/app/type-selector' |
| | | |
| | | export type AppCardProps = { |
| | | app: App |
| | |
| | | iconType={app.icon_type} |
| | | icon={app.icon} |
| | | background={app.icon_background} |
| | | imageUrl={app.icon_url} |
| | | imageUrl={app.mode === 'agent-chat' ? '/avatar/agent.png' : '/avatar/workflow.png'} |
| | | /> |
| | | <AppTypeIcon type={app.mode} wrapperClassName='absolute -bottom-0.5 -right-0.5 w-4 h-4 shadow-sm' className='w-3 h-3' /> |
| | | {/* <AppTypeIcon type={app.mode} wrapperClassName='absolute -bottom-0.5 -right-0.5 w-4 h-4 shadow-sm' className='w-3 h-3' /> */} |
| | | </div> |
| | | <div className='grow w-0 py-[1px]'> |
| | | <div className='flex items-center text-sm leading-5 font-semibold text-text-secondary'> |