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