File tree 2 files changed +12
-5
lines changed
team/[team]/[env]/app/[app]
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,9 @@ query AllIngresses {
62
62
detail
63
63
name
64
64
}
65
+ ... on WorkloadStatusNoRunningInstances {
66
+ level
67
+ }
65
68
}
66
69
}
67
70
}
Original file line number Diff line number Diff line change 70
70
<div class =" wrapper" >
71
71
<div class =" app-content" >
72
72
<div class =" main-section" >
73
- {#each app .status .errors as error , i (i )}
74
- {#if supportedErrorTypes .includes (error .__typename )}
75
- <ErrorMessage {error } instances ={app .instances .nodes } {docURL } workloadType =" App" />
76
- {/if }
77
- {/each }
73
+ {#if app .status .errors .filter ((e ) => supportedErrorTypes .includes (e .__typename )).length }
74
+ <div style =" display: flex; flex-direction: column; gap: var(--a-spacing-2);" >
75
+ {#each app .status .errors as error , i (i )}
76
+ {#if supportedErrorTypes .includes (error .__typename )}
77
+ <ErrorMessage {error } instances ={app .instances .nodes } {docURL } workloadType =" App" />
78
+ {/if }
79
+ {/each }
80
+ </div >
81
+ {/if }
78
82
79
83
{#if app .deletionStartedAt }
80
84
<Alert variant ="info" size ="small" fullWidth ={false }>
You can’t perform that action at this time.
0 commit comments