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
e67a1413
Unverified
Commit
e67a1413
authored
Aug 22, 2023
by
Joel
Committed by
GitHub
Aug 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: create btn to first place (#953)
parent
4f3053a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Apps.tsx
web/app/(commonLayout)/apps/Apps.tsx
+2
-2
Datasets.tsx
web/app/(commonLayout)/datasets/Datasets.tsx
+1
-1
No files found.
web/app/(commonLayout)/apps/Apps.tsx
View file @
e67a1413
...
@@ -68,11 +68,11 @@ const Apps = () => {
...
@@ -68,11 +68,11 @@ const Apps = () => {
return
(
return
(
<
nav
className=
'grid content-start grid-cols-1 gap-4 px-12 pt-8 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 grow shrink-0'
>
<
nav
className=
'grid content-start grid-cols-1 gap-4 px-12 pt-8 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 grow shrink-0'
>
{
isCurrentWorkspaceManager
&&
<
NewAppCard
ref=
{
anchorRef
}
onSuccess=
{
mutate
}
/>
}
{
data
?.
map
(({
data
:
apps
})
=>
apps
.
map
(
app
=>
(
{
data
?.
map
(({
data
:
apps
})
=>
apps
.
map
(
app
=>
(
<
AppCard
key=
{
app
.
id
}
app=
{
app
}
onRefresh=
{
mutate
}
/>
<
AppCard
key=
{
app
.
id
}
app=
{
app
}
onRefresh=
{
mutate
}
/>
)))
}
)))
}
{
isCurrentWorkspaceManager
&&
<
NewAppCard
ref=
{
anchorRef
}
onSuccess=
{
mutate
}
/>
}
{
{
showPayStatusModal
&&
(
showPayStatusModal
&&
(
<
Confirm
<
Confirm
...
...
web/app/(commonLayout)/datasets/Datasets.tsx
View file @
e67a1413
...
@@ -42,10 +42,10 @@ const Datasets = () => {
...
@@ -42,10 +42,10 @@ const Datasets = () => {
return
(
return
(
<
nav
className=
'grid content-start grid-cols-1 gap-4 px-12 pt-8 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 grow shrink-0'
>
<
nav
className=
'grid content-start grid-cols-1 gap-4 px-12 pt-8 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 grow shrink-0'
>
{
isCurrentWorkspaceManager
&&
<
NewDatasetCard
ref=
{
anchorRef
}
/>
}
{
data
?.
map
(({
data
:
datasets
})
=>
datasets
.
map
(
dataset
=>
(
{
data
?.
map
(({
data
:
datasets
})
=>
datasets
.
map
(
dataset
=>
(
<
DatasetCard
key=
{
dataset
.
id
}
dataset=
{
dataset
}
onDelete=
{
mutate
}
/>),
<
DatasetCard
key=
{
dataset
.
id
}
dataset=
{
dataset
}
onDelete=
{
mutate
}
/>),
))
}
))
}
{
isCurrentWorkspaceManager
&&
<
NewDatasetCard
ref=
{
anchorRef
}
/>
}
</
nav
>
</
nav
>
)
)
}
}
...
...
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