diff --git a/web/app/components/billing/plan-upgrade-modal/style.module.css b/web/app/components/billing/plan-upgrade-modal/style.module.css
index e8e86719e6..50ad488388 100644
--- a/web/app/components/billing/plan-upgrade-modal/style.module.css
+++ b/web/app/components/billing/plan-upgrade-modal/style.module.css
@@ -19,7 +19,6 @@
background:
linear-gradient(180deg, var(--color-components-avatar-bg-mask-stop-0, rgba(255, 255, 255, 0.12)) 0%, var(--color-components-avatar-bg-mask-stop-100, rgba(255, 255, 255, 0.08)) 100%),
var(--color-util-colors-blue-brand-blue-brand-500, #296dff);
- box-shadow: 0 10px 20px color-mix(in srgb, var(--color-util-colors-blue-brand-blue-brand-500, #296dff) 35%, transparent);
}
.highlight {
diff --git a/web/app/components/datasets/create/step-one/index.tsx b/web/app/components/datasets/create/step-one/index.tsx
index 893f9ff07d..53f55a37f2 100644
--- a/web/app/components/datasets/create/step-one/index.tsx
+++ b/web/app/components/datasets/create/step-one/index.tsx
@@ -23,7 +23,7 @@ import { ENABLE_WEBSITE_FIRECRAWL, ENABLE_WEBSITE_JINAREADER, ENABLE_WEBSITE_WAT
import NotionConnector from '@/app/components/base/notion-connector'
import type { DataSourceAuth } from '@/app/components/header/account-setting/data-source-page-new/types'
import PlanUpgradeModal from '@/app/components/billing/plan-upgrade-modal'
-import { noop } from 'lodash-es'
+import { useBoolean } from 'ahooks'
type IStepOneProps = {
datasetId?: string
@@ -132,6 +132,11 @@ const StepOne = ({
return authedDataSourceList.find(item => item.provider === 'notion_datasource')?.credentials_list || []
}, [authedDataSourceList])
+ const [isShowPlanUpgradeModal, {
+ // setTrue: showPlanUpgradeModal,
+ setFalse: hidePlanUpgradeModal,
+ }] = useBoolean(true)
+
return (
@@ -332,15 +337,14 @@ const StepOne = ({
/>
)}
{currentWebsite &&
}
- {
+ {isShowPlanUpgradeModal && (
- }
+ )}