Skip to content

Commit

Permalink
fix(List/Matrix View): 💄 Header structure was inconsistent
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Nov 30, 2021
1 parent 13612ef commit 79ae608
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/Components/Matrix.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@
<div class="BC-Matrix-square">
<div class="BC-Matrix-headers">
<h4 class="BC-Matrix-header">{square.field}</h4>
{#if square.realItems.length}
{#if settings.showRelationType}
<h6 class="BC-Matrix-header">Real</h6>
{/if}

{#if settings.showRelationType}
<h6 class="BC-Matrix-header">
{square.realItems.length ? "Real" : "Implied"}
</h6>
{/if}
</div>
{#if square.realItems.length}
Expand All @@ -46,7 +47,7 @@
<div class="BC-Matrix-headers">
<h4 class="BC-Matrix-header" />
{#if square.impliedItems.length}
{#if settings.showRelationType}
{#if settings.showRelationType && square.realItems.length}
<h6 class="BC-Matrix-header">Implied</h6>
{/if}
{/if}
Expand Down

0 comments on commit 79ae608

Please sign in to comment.