rename Address.svelte -> UpObject.svelte

feat/vaults
Tomáš Mládek 2021-12-21 18:47:54 +01:00
parent 057ac8e35f
commit b6bcd37c89
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
3 changed files with 5 additions and 5 deletions

View File

@ -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}

View File

@ -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