Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
Fix: default button behavior (#2609)
crazywoola3cf5c1853deb
diff --git a/web/app/components/base/button/index.tsx b/web/app/components/base/button/index.tsxindex 24d58c6ea59..e617a5d12d4 100644--- a/web/app/components/base/button/index.tsx+++ b/web/app/components/base/button/index.tsx@@ -3,16 +3,13 @@ import React from 'react'import Spinner from '../spinner'export type IButtonProps = {- /**- * The style of the button- */- type?: 'primary' | 'warning' | (string & {})+ type?: stringclassName?: stringdisabled?: booleanloading?: booleantabIndex?: numberchildren: React.ReactNode- onClick?: MouseEventHandler<HTMLButtonElement>+ onClick?: MouseEventHandler<HTMLDivElement>}const Button: FC<IButtonProps> = ({@@ -38,16 +35,15 @@ const Button: FC<IButtonProps> = ({}return (- <button+ <divclassName={`btn ${style} ${className && className}`}tabIndex={tabIndex}- disabled={disabled}- onClick={onClick}+ onClick={disabled ? undefined : onClick}>{children}{/* Spinner is hidden when loading is false */}<Spinner loading={loading} className='!text-white !h-3 !w-3 !border-2 !ml-1' />- </button>+ </div>)}