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 {
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>