File tree Expand file tree Collapse file tree 5 files changed +6
-7
lines changed Expand file tree Collapse file tree 5 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
- .app-status-modal {
1
+ .app-status-content {
2
2
.app-status-content {
3
3
& __row {
4
4
grid-template-columns : 150px 200px 100px auto ;
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ import { Icon } from '../Icon'
11
11
import { AppStatusContentProps } from './types'
12
12
import { getFlattenedNodesFromAppDetails , getResourceKey } from './utils'
13
13
14
+ import './AppStatusContent.scss'
15
+
14
16
const APP_STATUS_ROWS_BASE_CLASS = 'px-16 py-8 dc__grid dc__column-gap-16 app-status-content__row'
15
17
16
18
const AppStatusContent = ( {
@@ -119,7 +121,7 @@ const AppStatusContent = ({
119
121
}
120
122
121
123
return (
122
- < div className = { `flexbox-col ${ isCardLayout ? 'br-6 border__primary' : '' } ` } >
124
+ < div className = { `flexbox-col app-status-content ${ isCardLayout ? 'br-6 border__primary' : '' } ` } >
123
125
{ ! ! flattenedNodes . length && (
124
126
< div className = "p-12" >
125
127
< StatusFilterButtonComponent
Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ import { AppStatusBody } from './AppStatusBody'
17
17
import { getAppDetails } from './service'
18
18
import { AppStatusModalProps } from './types'
19
19
20
- import './AppStatusModal.scss'
21
-
22
20
const AppStatusModal = ( {
23
21
title,
24
22
handleClose,
Original file line number Diff line number Diff line change @@ -155,7 +155,6 @@ export const DeploymentStatusDetailRow = ({
155
155
</ div >
156
156
) }
157
157
< div >
158
- { /* TODO: Test */ }
159
158
< AppStatusContent appDetails = { appDetails } filterHealthyNodes isCardLayout = { false } />
160
159
</ div >
161
160
</ div >
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ import { ErrorBarType } from './types'
23
23
import { getIsImagePullBackOff , renderErrorHeaderMessage } from './utils'
24
24
25
25
const ErrorBar = ( { appDetails } : ErrorBarType ) => {
26
- const isImagePullBackOff = getIsImagePullBackOff ( appDetails )
27
-
28
26
if (
29
27
! appDetails ||
30
28
appDetails . appType !== AppType . DEVTRON_APP ||
@@ -35,6 +33,8 @@ const ErrorBar = ({ appDetails }: ErrorBarType) => {
35
33
return null
36
34
}
37
35
36
+ const isImagePullBackOff = getIsImagePullBackOff ( appDetails )
37
+
38
38
return (
39
39
isImagePullBackOff && (
40
40
< div className = "er-2 bw-1 br-4 m-20 fs-13" >
You can’t perform that action at this time.
0 commit comments