[ui] remove unnecessary address attr from AttributeView

feat/vaults
Tomáš Mládek 2022-01-27 20:57:32 +01:00
parent 642590cce9
commit ad21ed6857
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
2 changed files with 0 additions and 4 deletions

View File

@ -8,7 +8,6 @@
import Icon from "./utils/Icon.svelte";
import IconButton from "./utils/IconButton.svelte";
export let address: string;
export let entries: UpEntry[];
export let type: UpType | undefined = undefined;
export let title: String | undefined = undefined;

View File

@ -140,7 +140,6 @@
<div class="attributes">
{#each Object.entries(typedAttributes) as [typeAddr, entries] (typeAddr)}
<AttributeView
{address}
{entries}
type={allTypes[typeAddr]}
{editable}
@ -152,7 +151,6 @@
<AttributeView
title="Other attributes"
{editable}
{address}
entries={currentUntypedAttributes}
on:change={onChange}
/>
@ -161,7 +159,6 @@
{#if $entity?.backlinks.length > 0}
<AttributeView
title={`Referred to (${$entity.backlinks.length})`}
{address}
entries={$entity.backlinks}
reverse
on:change={onChange}