1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Fix relationship cells not being readonly

This commit is contained in:
Andrew Kingston 2023-04-17 16:06:20 +01:00
parent e48e2ff7f0
commit 666762a2c2

View file

@ -216,13 +216,13 @@
{#if relationship.primaryDisplay}
<div class="badge">
<span
on:click={focused
on:click={editable
? () => showRelationship(relationship._id)
: null}
>
{relationship.primaryDisplay}
</span>
{#if focused}
{#if editable}
<Icon
name="Close"
size="XS"
@ -233,7 +233,7 @@
</div>
{/if}
{/each}
{#if focused}
{#if editable}
<div class="add" on:click={open}>
<Icon name="Add" size="S" />
</div>
@ -356,7 +356,7 @@
white-space: nowrap;
text-overflow: ellipsis;
}
.focused .values .badge span:hover {
.editable .values .badge span:hover {
cursor: pointer;
text-decoration: underline;
}