Compare commits

...

2 Commits

Author SHA1 Message Date
Tomáš Mládek 1bd83062bb fix(webui): Inspect correctly detects un/typed entries of a group
ci/woodpecker/push/woodpecker Pipeline failed Details
2024-04-12 15:06:55 +02:00
Tomáš Mládek 58c5329781 fix(webui): Footer correctly displays over content
also a11y fixes, import fix
2024-04-12 15:03:17 +02:00
2 changed files with 5 additions and 2 deletions

View File

@ -192,7 +192,7 @@
const allAttributes = ( const allAttributes = (
await Promise.all( await Promise.all(
($entity?.attr[`~${ATTR_OF}`] ?? []).map(async (e) => { ($entity?.attr[`~${ATTR_OF}`] ?? []).map(async (e) => {
return { address: e.entity, components: await api.addressToComponents(e.entity) }; return { address: e.address, components: await api.addressToComponents(e.entity) };
}) })
) )
) )

View File

@ -2,7 +2,7 @@
import Icon from '../utils/Icon.svelte'; import Icon from '../utils/Icon.svelte';
import Jobs from './Jobs.svelte'; import Jobs from './Jobs.svelte';
import Notifications from './Notifications.svelte'; import Notifications from './Notifications.svelte';
import { i18n } from '../../i18n'; import { i18n } from '$lib/i18n';
let hidden = true; let hidden = true;
let activeJobs: number; let activeJobs: number;
@ -20,6 +20,8 @@
on:keydown={(ev) => { on:keydown={(ev) => {
if (['Space', 'Enter'].includes(ev.key)) hidden = !hidden; if (['Space', 'Enter'].includes(ev.key)) hidden = !hidden;
}} }}
role="button"
tabindex="-1"
> >
<div class="info"> <div class="info">
{#if activeJobs > 0} {#if activeJobs > 0}
@ -42,6 +44,7 @@
position: fixed; position: fixed;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
z-index: 9;
display: flex; display: flex;
flex-direction: column; flex-direction: column;