260322:1648 Correct Coresspondence / Doing RFA / Correct CI
CI Pipeline / build (push) Failing after 12m41s
Build and Deploy / deploy (push) Failing after 2m44s

This commit is contained in:
admin
2026-03-22 16:48:12 +07:00
parent e5deedb42e
commit 11984bfa29
683 changed files with 105251 additions and 29068 deletions
@@ -21,7 +21,7 @@ import Link from 'next/link';
export default function WorkflowEditPage() {
const params = useParams();
const router = useRouter();
const id = params?.id === 'new' ? null : params?.id as string;
const id = params?.id === 'new' ? null : (params?.id as string);
const [workflowData, setWorkflowData] = useState<Partial<Workflow>>({
workflowName: '',
@@ -69,7 +69,7 @@ export default function WorkflowEditPage() {
toast.success('Workflow created successfully');
router.push('/admin/doc-control/workflows');
}
} catch (error) {
} catch (_error) {
toast.error('Failed to save workflow');
}
};