@@ -167,41 +167,43 @@ export class UmbAppErrorElement extends UmbLitElement {
167
167
return nothing ;
168
168
}
169
169
170
- render = ( ) => html `
171
- <div id= "background" > </ div>
172
-
173
- <div id= "logo" aria-hidden = "true" >
174
- <img src= "/umbraco/backoffice/assets/umbraco_logomark_white.svg" alt = "Umbraco" / >
175
- </ div>
176
-
177
- <div id= "container" class = "uui-text" >
178
- <uui- box id= "box" headline-variant = "h1" >
179
- ${ this . hideBackButton
180
- ? nothing
181
- : html `
182
- <uui- butto n
183
- slot= "header-actions"
184
- label = ${ this . localize . term ( 'general_back' ) }
185
- look= "secondary"
186
- @click = ${ ( ) => ( location . href = '' ) } > </ uui- butto n>
187
- ` }
188
- <div slot= "headline" >
189
- ${ this . errorHeadline
190
- ? this . errorHeadline
191
- : html ` <umb- localize key= "errors_defaultError" > An unknown failure has occured </ umb- localize> ` }
192
- </ div>
193
- <div id= "message" > ${ this . errorMessage } </ div>
194
- ${ this . error
195
- ? html `
196
- <details>
197
- <summary> <umb- localize key= "general_details" > Details </ umb- localize> </ summary>
198
- ${ this . #renderError( this . error ) }
199
- </ details>
200
- `
201
- : nothing }
202
- </ uui- box>
203
- </ div>
204
- ` ;
170
+ override render ( ) {
171
+ return html `
172
+ <div id= "background" > </ div>
173
+
174
+ <div id= "logo" aria-hidden = "true" >
175
+ <img src= "/umbraco/backoffice/assets/umbraco_logomark_white.svg" alt = "Umbraco" / >
176
+ </ div>
177
+
178
+ <div id= "container" class = "uui-text" >
179
+ <uui- box id= "box" headline-variant = "h1" >
180
+ ${ this . hideBackButton
181
+ ? nothing
182
+ : html `
183
+ <uui- butto n
184
+ slot= "header-actions"
185
+ label = ${ this . localize . term ( 'general_back' ) }
186
+ look= "secondary"
187
+ @click = ${ ( ) => ( location . href = '' ) } > </ uui- butto n>
188
+ ` }
189
+ <div slot= "headline" >
190
+ ${ this . errorHeadline
191
+ ? this . errorHeadline
192
+ : html ` <umb- localize key= "errors_defaultError" > An unknown failure has occured </ umb- localize> ` }
193
+ </ div>
194
+ <div id= "message" > ${ this . errorMessage } </ div>
195
+ ${ this . error
196
+ ? html `
197
+ <details>
198
+ <summary> <umb- localize key= "general_details" > Details </ umb- localize> </ summary>
199
+ ${ this . #renderError( this . error ) }
200
+ </ details>
201
+ `
202
+ : nothing }
203
+ </ uui- box>
204
+ </ div>
205
+ ` ;
206
+ }
205
207
206
208
static override styles = [
207
209
UmbTextStyles ,
0 commit comments