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
80eebc24
Unverified
Commit
80eebc24
authored
Jun 27, 2023
by
zxhlyh
Committed by
GitHub
Jun 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: upgrade nextjs version (#457)
parent
17d19612
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
index.tsx
web/app/components/datasets/documents/index.tsx
+0
-2
list.tsx
web/app/components/datasets/documents/list.tsx
+1
-1
package.json
web/package.json
+4
-4
No files found.
web/app/components/datasets/documents/index.tsx
View file @
80eebc24
...
...
@@ -140,8 +140,6 @@ const Documents: FC<IDocumentsProps> = ({ datasetId }) => {
router
.
push
(
`/datasets/
${
datasetId
}
/documents/create`
)
}
router
.
prefetch
(
`/datasets/
${
datasetId
}
/documents/create`
)
const
isLoading
=
!
documentsRes
&&
!
error
const
handleSaveNotionPageSelected
=
async
(
selectedPages
:
(
DataSourceNotionPage
&
{
workspace_id
:
string
})[])
=>
{
...
...
web/app/components/datasets/documents/list.tsx
View file @
80eebc24
...
...
@@ -309,7 +309,7 @@ const DocumentList: FC<IDocumentListProps> = ({ documents = [], datasetId, onUpd
key=
{
doc
.
id
}
className=
{
'border-b border-gray-200 h-8 hover:bg-gray-50 cursor-pointer'
}
onClick=
{
()
=>
{
router
.
push
(
`datasets/${datasetId}/documents/${doc.id}`
)
router
.
push
(
`
/
datasets/${datasetId}/documents/${doc.id}`
)
}
}
>
<
td
className=
'text-left align-middle text-gray-500 text-xs'
>
{
doc
.
position
}
</
td
>
<
td
className=
{
s
.
tdValue
}
>
...
...
web/package.json
View file @
80eebc24
...
...
@@ -44,7 +44,6 @@
"echarts-for-react"
:
"^3.0.2"
,
"emoji-mart"
:
"^5.5.2"
,
"eslint"
:
"8.36.0"
,
"eslint-config-next"
:
"13.2.4"
,
"husky"
:
"^8.0.3"
,
"i18next"
:
"^22.4.13"
,
"i18next-resources-to-backend"
:
"^1.1.3"
,
...
...
@@ -53,10 +52,10 @@
"katex"
:
"^0.16.7"
,
"lodash-es"
:
"^4.17.21"
,
"negotiator"
:
"^0.6.3"
,
"next"
:
"
13.2.4
"
,
"next"
:
"
^13.4.7
"
,
"qs"
:
"^6.11.1"
,
"react"
:
"18.2.0"
,
"react-dom"
:
"18.2.0"
,
"react"
:
"
^
18.2.0"
,
"react-dom"
:
"
^
18.2.0"
,
"react-error-boundary"
:
"^4.0.2"
,
"react-headless-pagination"
:
"^1.1.4"
,
"react-i18next"
:
"^12.2.0"
,
...
...
@@ -89,6 +88,7 @@
"@types/negotiator"
:
"^0.6.1"
,
"@types/qs"
:
"^6.9.7"
,
"@types/sortablejs"
:
"^1.15.1"
,
"eslint-config-next"
:
"^13.4.7"
,
"eslint-plugin-react-hooks"
:
"^4.6.0"
,
"lint-staged"
:
"^13.2.2"
,
"miragejs"
:
"^0.1.47"
,
...
...
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