Compare commits
2 Commits
07a150b99d
...
1bd83062bb
Author | SHA1 | Date |
---|---|---|
Tomáš Mládek | 1bd83062bb | |
Tomáš Mládek | 58c5329781 |
|
@ -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) };
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue