rename Address.svelte -> UpObject.svelte
parent
057ac8e35f
commit
b6bcd37c89
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts">
|
||||
import AttributeView from "./AttributeView.svelte";
|
||||
import { query, useEntity } from "../lib/entity";
|
||||
import Address from "./Address.svelte";
|
||||
import UpObject from "./UpObject.svelte";
|
||||
import { UpType } from "../lib/types";
|
||||
import BlobPreview from "./BlobPreview.svelte";
|
||||
import { setContext } from "svelte";
|
||||
|
@ -82,7 +82,7 @@
|
|||
<div class="inspect">
|
||||
<h2>
|
||||
{#if $entity}
|
||||
<Address banner {address} />
|
||||
<UpObject banner {address} />
|
||||
{:else}
|
||||
<sl-spinner />
|
||||
{/if}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
import filesize from "filesize";
|
||||
import { format, fromUnixTime } from "date-fns";
|
||||
import Ellipsis from "../Ellipsis.svelte";
|
||||
import Address from "../Address.svelte";
|
||||
import UpObject from "../UpObject.svelte";
|
||||
import { createEventDispatcher, getContext } from "svelte";
|
||||
import type { AttributeChange } from "../../types/base";
|
||||
import { useParams } from "svelte-navigator";
|
||||
|
@ -237,7 +237,7 @@
|
|||
|
||||
{#if showEntity}
|
||||
<td class="entity">
|
||||
<Address
|
||||
<UpObject
|
||||
link
|
||||
labels={entry.listing.getObject(String(entry.entity)).identify()}
|
||||
address={entry.entity}
|
||||
|
@ -264,7 +264,7 @@
|
|||
on:edit={(val) => updateEntry(entry.address, entry.attribute, val)}
|
||||
>
|
||||
{#if entry.value.t === "Address"}
|
||||
<Address
|
||||
<UpObject
|
||||
link
|
||||
address={String(entry.value.c)}
|
||||
labels={entry.listing
|
||||
|
|
Loading…
Reference in New Issue