Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
Project
Project
Details
Activity
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
Administrator
bkunyun
Commits
6f95fc18
Commit
6f95fc18
authored
Aug 16, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 任务列表中正在启动的项目展示终止任务按钮
parent
6507ea38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
index.tsx
src/views/Project/ProjectWorkbench/workbenchList/index.tsx
+3
-2
No files found.
src/views/Project/ProjectWorkbench/workbenchList/index.tsx
View file @
6f95fc18
...
...
@@ -368,7 +368,7 @@ const ProjectMembers = observer(() => {
<
Box
className=
{
styles
.
body
}
style=
{
{
position
:
"relative"
}
}
>
<
MyCircularProgress
loading=
{
loading
}
/>
{
jobList
.
length
===
0
&&
(
{
jobList
.
length
===
0
&&
!
loading
&&
(
<
Box
sx=
{
{
display
:
"flex"
,
...
...
@@ -439,7 +439,7 @@ const ProjectMembers = observer(() => {
</
div
>
</
Box
>
{
item
.
state
===
"RUNNING"
&&
{
(
item
.
state
===
"RUNNING"
||
item
.
state
===
"SUBMITTED"
)
&&
isPass
(
"PROJECT_WORKBENCH_JOBS_STOP"
,
"USER"
)
&&
(
<
Box
className=
{
styles
.
tabBoxJobOperate
}
>
{
currentProjectStore
.
currentProjectInfo
.
projectRole
===
...
...
@@ -465,6 +465,7 @@ const ProjectMembers = observer(() => {
</
Box
>
)
}
{
item
.
state
!==
"RUNNING"
&&
item
.
state
!==
"SUBMITTED"
&&
isPass
(
"PROJECT_WORKBENCH_JOBS_DELETE"
,
"MANAGER"
)
&&
(
<
Box
className=
{
styles
.
tabBoxJobOperate
}
>
<
img
...
...
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