@@ -43,17 +43,17 @@ const StatusHeadingContainer = ({
43
43
type,
44
44
appId,
45
45
envId,
46
- actionButton ,
46
+ actionItem ,
47
47
} : PropsWithChildren < Pick < AppStatusBodyProps , 'type' > > & {
48
48
appId : number
49
49
envId ?: number
50
- actionButton ?: ReactNode
50
+ actionItem ?: ReactNode
51
51
} ) => (
52
52
< div className = "flexbox dc__content-space w-100" >
53
53
{ children }
54
54
55
55
< div className = "flexbox dc__align-items-center dc__gap-4" >
56
- { actionButton }
56
+ { actionItem }
57
57
{ type === 'release' ? (
58
58
< Button
59
59
dataTestId = "visit-app-details"
@@ -97,14 +97,14 @@ export const AppStatusBody = ({
97
97
98
98
return [
99
99
{
100
- id : `app-status-${ 1 } ` ,
100
+ id : `app-status-block ${ 1 } ` ,
101
101
heading : type !== 'stack-manager' ? 'Application Status' : 'Status' ,
102
102
value : (
103
103
< StatusHeadingContainer
104
104
type = { type }
105
105
appId = { appDetails . appId }
106
106
envId = { appDetails . environmentId }
107
- actionButton = {
107
+ actionItem = {
108
108
ExplainWithAIButton &&
109
109
appDetails . appStatus ?. toLowerCase ( ) !== StatusType . HEALTHY . toLowerCase ( ) &&
110
110
( debugNode || message ) ? (
@@ -133,7 +133,7 @@ export const AppStatusBody = ({
133
133
...( message
134
134
? [
135
135
{
136
- id : `app-status-${ 2 } ` ,
136
+ id : `app-status-block ${ 2 } ` ,
137
137
heading : 'Message' ,
138
138
value : message ,
139
139
} ,
@@ -142,7 +142,7 @@ export const AppStatusBody = ({
142
142
...( customMessage
143
143
? [
144
144
{
145
- id : `app-status-${ 3 } ` ,
145
+ id : `app-status-block ${ 3 } ` ,
146
146
heading : 'Message' ,
147
147
value : customMessage ,
148
148
} ,
@@ -156,7 +156,7 @@ export const AppStatusBody = ({
156
156
? getAppStatusInfoCardItems ( )
157
157
: [
158
158
{
159
- id : `deployment-status-${ 1 } ` ,
159
+ id : `deployment-status-block- ${ 1 } ` ,
160
160
heading : 'Deployment Status' ,
161
161
value : (
162
162
< StatusHeadingContainer type = { type } appId = { appDetails . appId } envId = { appDetails . environmentId } >
0 commit comments