[ui] responsivize ui, fix nav
parent
4233a5da46
commit
6bc4e7ffce
|
@ -14,7 +14,7 @@
|
|||
|
||||
let resolving = resolve;
|
||||
|
||||
const { attributes, backlinks } = useEntity(address, () => resolve);
|
||||
$: ({ attributes, backlinks } = useEntity(address, () => resolve));
|
||||
|
||||
// isFile
|
||||
$: isFile = $attributes.some(
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
import { useEntity } from "../lib/entity";
|
||||
export let address: string;
|
||||
|
||||
const { attributes } = useEntity(address);
|
||||
$: ({ attributes } = useEntity(address));
|
||||
|
||||
let mimeType: string | undefined;
|
||||
$: mimeType = $attributes.find(([_, e]) => e.attribute === "FILE_MIME")?.[1]
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
setContext("browse", { index: indexStore });
|
||||
|
||||
const { error, revalidate, attributes, backlinks } = useEntity(address);
|
||||
$: ({ error, revalidate, attributes, backlinks } = useEntity(address));
|
||||
|
||||
$: allTypeAddresses = $attributes
|
||||
.map(([_, attr]) => attr)
|
||||
|
|
Loading…
Reference in New Issue