Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ce-deploy-ui
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ccce
dev
ce-deploy-ui
Commits
bcad7798
Commit
bcad7798
authored
1 year ago
by
cjenkscybercom
Browse files
Options
Downloads
Patches
Plain Diff
CE-2208
: add heading to iod details management tab job table
parent
064b01b8
No related branches found
No related tags found
2 merge requests
!407
CE-2141: 3.0.0
,
!405
Qa release tasks
Pipeline
#164687
passed
1 year ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/IOC/IOCManage/IOCManage.js
+20
-14
20 additions, 14 deletions
src/components/IOC/IOCManage/IOCManage.js
with
20 additions
and
14 deletions
src/components/IOC/IOCManage/IOCManage.js
+
20
−
14
View file @
bcad7798
import
{
Button
,
Link
as
MuiLink
,
Tooltip
,
Typography
}
from
"
@mui/material
"
;
import
{
Button
,
Link
as
MuiLink
,
Stack
,
Tooltip
,
Typography
}
from
"
@mui/material
"
;
import
React
,
{
useState
,
useEffect
,
...
...
@@ -58,7 +64,6 @@ export function IOCManage({
const
closeDeployModal
=
()
=>
{
setDeployDialogOpen
(
false
);
getIOC
();
// history.push(window.location.pathname);
};
const
closeUndeployModal
=
()
=>
{
...
...
@@ -134,7 +139,6 @@ export function IOCManage({
]
);
let
content
=
<><
/>
;
if
(
ioc
)
{
const
managedIOC
=
{
...
ioc
};
...
...
@@ -166,8 +170,8 @@ export function IOCManage({
"
There is an ongoing operation, you can not undeploy the IOC right now
"
;
}
content
=
(
<>
return
(
<
Stack
gap
=
{
2
}
>
<
IOCDetails
ioc
=
{
managedIOC
}
getSubset
=
{
getSubset
}
...
...
@@ -214,12 +218,15 @@ export function IOCManage({
allowedRoles
=
{[
"
DeploymentToolAdmin
"
,
"
DeploymentToolIntegrator
"
]}
renderNoAccess
=
{()
=>
<><
/>
}
>
<
JobTable
jobs
=
{
operations
}
pagination
=
{
pagination
}
onPage
=
{
onPage
}
loading
=
{
operationsLoading
}
/
>
<
Stack
gap
=
{
2
}
>
<
Typography
variant
=
"
h3
"
>
Operations
<
/Typography
>
<
JobTable
jobs
=
{
operations
}
pagination
=
{
pagination
}
onPage
=
{
onPage
}
loading
=
{
operationsLoading
}
/
>
<
/Stack
>
<
DeployIOC
open
=
{
deployDialogOpen
}
setOpen
=
{
setDeployDialogOpen
}
...
...
@@ -235,9 +242,8 @@ export function IOCManage({
ioc
=
{
ioc
}
/
>
<
/AccessControl
>
<
/
>
<
/
Stack
>
);
}
return
<>
{
content
}
<
/>
;
return
null
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment