[ui] remove unnecessary address attr from AttributeView
parent
642590cce9
commit
ad21ed6857
|
@ -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;
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue