File tree 1 file changed +5
-9
lines changed
src/lib/components/errors
1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 20
20
teamSlug,
21
21
workloadName,
22
22
environment,
23
- docURL,
24
- collapsible = true
23
+ docURL
25
24
}: {
26
- collapsible? : boolean ;
27
25
workloadType: ' App' | ' Job' ;
28
26
teamSlug: string ;
29
27
workloadName: string ;
93
91
<div class =" content" >
94
92
<div style =" display: flex; align-items: center; gap: var(--a-spacing-2);" >
95
93
<Heading level ="2" size ="small" >{heading [error .__typename ]}</Heading >
96
- {#if collapsible }
97
- <Button variant ="tertiary" size ="xsmall" onclick ={() => (open = ! open )}>
98
- {open ? ' Hide' : ' Show' } details
99
- </Button >
100
- {/if }
94
+ <Button variant ="tertiary" size ="xsmall" onclick ={() => (open = ! open )}>
95
+ {open ? ' Hide' : ' Show' } details
96
+ </Button >
101
97
</div >
102
- {#if open || ! collapsible }
98
+ {#if open }
103
99
{#if error .__typename === ' WorkloadStatusInvalidNaisYaml' }
104
100
<BodyLong >
105
101
The rollout of your {workloadType === ' Job' ? ' job' : ' application' } has failed due to an
You can’t perform that action at this time.
0 commit comments