File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- .app-status-modal {
1+ .app-status-content {
22 .app-status-content {
33 & __row {
44 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'
1111import { AppStatusContentProps } from './types'
1212import { getFlattenedNodesFromAppDetails , getResourceKey } from './utils'
1313
14+ import './AppStatusContent.scss'
15+
1416const APP_STATUS_ROWS_BASE_CLASS = 'px-16 py-8 dc__grid dc__column-gap-16 app-status-content__row'
1517
1618const AppStatusContent = ( {
@@ -119,7 +121,7 @@ const AppStatusContent = ({
119121 }
120122
121123 return (
122- < div className = { `flexbox-col ${ isCardLayout ? 'br-6 border__primary' : '' } ` } >
124+ < div className = { `flexbox-col app-status-content ${ isCardLayout ? 'br-6 border__primary' : '' } ` } >
123125 { ! ! flattenedNodes . length && (
124126 < div className = "p-12" >
125127 < StatusFilterButtonComponent
Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ import { AppStatusBody } from './AppStatusBody'
1717import { getAppDetails } from './service'
1818import { AppStatusModalProps } from './types'
1919
20- import './AppStatusModal.scss'
21-
2220const AppStatusModal = ( {
2321 title,
2422 handleClose,
Original file line number Diff line number Diff line change @@ -155,7 +155,6 @@ export const DeploymentStatusDetailRow = ({
155155 </ div >
156156 ) }
157157 < div >
158- { /* TODO: Test */ }
159158 < AppStatusContent appDetails = { appDetails } filterHealthyNodes isCardLayout = { false } />
160159 </ div >
161160 </ div >
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ import { ErrorBarType } from './types'
2323import { getIsImagePullBackOff , renderErrorHeaderMessage } from './utils'
2424
2525const ErrorBar = ( { appDetails } : ErrorBarType ) => {
26- const isImagePullBackOff = getIsImagePullBackOff ( appDetails )
27-
2826 if (
2927 ! appDetails ||
3028 appDetails . appType !== AppType . DEVTRON_APP ||
@@ -35,6 +33,8 @@ const ErrorBar = ({ appDetails }: ErrorBarType) => {
3533 return null
3634 }
3735
36+ const isImagePullBackOff = getIsImagePullBackOff ( appDetails )
37+
3838 return (
3939 isImagePullBackOff && (
4040 < div className = "er-2 bw-1 br-4 m-20 fs-13" >
You can’t perform that action at this time.
0 commit comments