web/flows: update flow background
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
d1a02cbc0c
commit
7e3c21d77b
Binary file not shown.
Before Width: | Height: | Size: 746 KiB After Width: | Height: | Size: 580 KiB |
|
@ -428,7 +428,7 @@ export class FlowExecutor extends LitElement implements StageHost {
|
|||
}
|
||||
|
||||
getLayout(): string {
|
||||
const prefilledFlow = globalAK().flow?.layout || LayoutEnum.Stacked;
|
||||
const prefilledFlow = globalAK()?.flow?.layout || LayoutEnum.Stacked;
|
||||
if (this.challenge) {
|
||||
return this.challenge?.flowInfo?.layout || prefilledFlow;
|
||||
}
|
||||
|
@ -521,7 +521,7 @@ export class FlowExecutor extends LitElement implements StageHost {
|
|||
? html`
|
||||
<li>
|
||||
<a
|
||||
href="https://unsplash.com/@jangottweiss"
|
||||
href="https://unsplash.com/@wild_away"
|
||||
>${t`Background image`}</a
|
||||
>
|
||||
</li>
|
||||
|
|
Reference in New Issue