Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
60ac915c
Unverified
Commit
60ac915c
authored
Aug 03, 2023
by
KVOJJJin
Committed by
GitHub
Aug 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: hide qa in cloud version (#729)
parent
b1b9e3ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
index.tsx
web/app/components/datasets/create/step-two/index.tsx
+2
-1
No files found.
web/app/components/datasets/create/step-two/index.tsx
View file @
60ac915c
...
...
@@ -27,6 +27,7 @@ import NotionIcon from '@/app/components/base/notion-icon'
import
Switch
from
'@/app/components/base/switch'
import
{
MessageChatSquare
}
from
'@/app/components/base/icons/src/public/common'
import
{
useDatasetDetailContext
}
from
'@/context/dataset-detail'
import
{
IS_CE_EDITION
}
from
'@/config'
type
Page
=
DataSourceNotionPage
&
{
workspace_id
:
string
}
...
...
@@ -572,7 +573,7 @@ const StepTwo = ({
<
Link
className=
'text-[#155EEF]'
href=
{
`/datasets/${datasetId}/settings`
}
>
{
t
(
'datasetCreation.stepTwo.datasetSettingLink'
)
}
</
Link
>
</
div
>
)
}
{
indexType
===
IndexingType
.
QUALIFIED
&&
(
{
IS_CE_EDITION
&&
indexType
===
IndexingType
.
QUALIFIED
&&
(
<
div
className=
'flex justify-between items-center mt-3 px-5 py-4 rounded-xl bg-gray-50 border border-gray-100'
>
<
div
className=
'flex justify-center items-center w-8 h-8 rounded-lg bg-indigo-50'
>
<
MessageChatSquare
className=
'w-4 h-4'
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment