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
405e99d2
Commit
405e99d2
authored
Mar 09, 2024
by
JzoNg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix api url of workflow run
parent
90ee7fe2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
record.tsx
web/app/components/workflow/panel/record.tsx
+3
-2
log.ts
web/service/log.ts
+1
-1
No files found.
web/app/components/workflow/panel/record.tsx
View file @
405e99d2
...
...
@@ -4,18 +4,19 @@ import { useStore } from '../store'
import
{
XClose
}
from
'@/app/components/base/icons/src/vender/line/general'
const
Record
=
()
=>
{
const
{
runTaskId
,
setRunTaskId
}
=
useStore
()
return
(
<
div
className=
'flex flex-col w-[400px] h-full rounded-2xl border-[0.5px] border-gray-200 shadow-xl bg-white'
>
<
div
className=
'flex items-center justify-between p-4 pb-1 text-base font-semibold text-gray-900'
>
Test Run#5
<
div
className=
'flex items-center justify-center w-6 h-6 cursor-pointer'
onClick=
{
()
=>
useStore
.
setState
({
runTaskId
:
''
}
)
}
onClick=
{
()
=>
setRunTaskId
(
''
)
}
>
<
XClose
className=
'w-4 h-4 text-gray-500'
/>
</
div
>
</
div
>
<
Run
activeTab=
'RESULT'
appId=
''
/>
<
Run
runID=
{
runTaskId
}
/>
</
div
>
)
}
...
...
web/service/log.ts
View file @
405e99d2
...
...
@@ -67,7 +67,7 @@ export const fetchWorkflowLogs: Fetcher<WorkflowLogsResponse, { url: string; par
}
export
const
fetchRunDetail
=
({
appID
,
runID
}:
{
appID
:
string
;
runID
:
string
})
=>
{
return
get
<
WorkflowRunDetailResponse
>
(
`/apps/
${
appID
}
/workflow-run/
${
runID
}
`
)
return
get
<
WorkflowRunDetailResponse
>
(
`/apps/
${
appID
}
/workflow-run
s
/
${
runID
}
`
)
}
export
const
fetchTracingList
:
Fetcher
<
NodeTracingListResponse
,
{
url
:
string
}
>
=
({
url
})
=>
{
...
...
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