diff --git a/web/app/components/app/workflow-log/index.tsx b/web/app/components/app/workflow-log/index.tsx index 1990d28c08..c7c32d6b83 100644 --- a/web/app/components/app/workflow-log/index.tsx +++ b/web/app/components/app/workflow-log/index.tsx @@ -9,13 +9,11 @@ import { Trans, useTranslation } from 'react-i18next' import Link from 'next/link' import List from './list' import Filter from './filter' -import DetailPanel from './detail' import s from './style.module.css' import Loading from '@/app/components/base/loading' import { fetchWorkflowLogs } from '@/service/log' import { APP_PAGE_LIMIT } from '@/config' import type { App, AppMode } from '@/types/app' -import Drawer from '@/app/components/base/drawer' export type ILogsProps = { appDetail: App @@ -50,12 +48,6 @@ const EmptyElement: FC<{ appUrl: string }> = ({ appUrl }) => { } const Logs: FC = ({ appDetail }) => { - // ###TODO### - const [showDrawer, setShowDrawer] = useState(true) - const onCloseDrawer = () => { - setShowDrawer(false) - } - const { t } = useTranslation() const [queryParams, setQueryParams] = useState({ status: 'all' }) const [currPage, setCurrPage] = React.useState(0) @@ -81,7 +73,7 @@ const Logs: FC = ({ appDetail }) => { return (
-

setShowDrawer(true)}>{t('appLog.workflowTitle')}

+

{t('appLog.workflowTitle')}

{t('appLog.workflowSubtitle')}

@@ -126,15 +118,6 @@ const Logs: FC = ({ appDetail }) => { : null}
- - -
) } diff --git a/web/app/components/workflow/run/node.tsx b/web/app/components/workflow/run/node.tsx index 1666d7000a..f4cbbb80ee 100644 --- a/web/app/components/workflow/run/node.tsx +++ b/web/app/components/workflow/run/node.tsx @@ -89,7 +89,6 @@ const NodePanel: FC = ({ nodeInfo, collapsed, collapseHandle }) => { onChange={() => {}} /> - {/* ###TODO### conditions by type */} {nodeInfo.process_data && (
= ({ value={JSON.stringify(inputs)} onChange={() => {}} /> - {/* ###TODO### */} {process_data && (