web/flows: update flow background

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-08-07 15:34:04 +02:00
parent d1a02cbc0c
commit 7e3c21d77b
2 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 746 KiB

After

Width:  |  Height:  |  Size: 580 KiB

View File

@ -428,7 +428,7 @@ export class FlowExecutor extends LitElement implements StageHost {
} }
getLayout(): string { getLayout(): string {
const prefilledFlow = globalAK().flow?.layout || LayoutEnum.Stacked; const prefilledFlow = globalAK()?.flow?.layout || LayoutEnum.Stacked;
if (this.challenge) { if (this.challenge) {
return this.challenge?.flowInfo?.layout || prefilledFlow; return this.challenge?.flowInfo?.layout || prefilledFlow;
} }
@ -521,7 +521,7 @@ export class FlowExecutor extends LitElement implements StageHost {
? html` ? html`
<li> <li>
<a <a
href="https://unsplash.com/@jangottweiss" href="https://unsplash.com/@wild_away"
>${t`Background image`}</a >${t`Background image`}</a
> >
</li> </li>