mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-21 13:59:36 +02:00
fix region card
This commit is contained in:
parent
e3479ae491
commit
f15fbbea68
1 changed files with 3 additions and 3 deletions
|
@ -57,10 +57,10 @@
|
|||
class="card w-full max-w-xs sm:max-w-sm md:max-w-md lg:max-w-md xl:max-w-md bg-primary-content shadow-xl overflow-hidden text-base-content"
|
||||
>
|
||||
<div class="card-body">
|
||||
{#if region.name == region?.name_en}
|
||||
<h2 class="card-title overflow-ellipsis">{region.name}</h2>
|
||||
{:else}
|
||||
{#if region.name !== region?.name_en}
|
||||
<h2 class="card-title overflow-ellipsis">{region.name} ({region.name_en})</h2>
|
||||
{:else}
|
||||
<h2 class="card-title overflow-ellipsis">{region.name}</h2>
|
||||
{/if}
|
||||
<p>{region.id}</p>
|
||||
<div class="card-actions justify-end">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue