2
0
forked from jmug/cactoide

fix: location missing field error

This commit is contained in:
Levente Orban
2025-09-25 09:28:44 +02:00
parent d2024d31ba
commit 26824eb3a8
12 changed files with 161 additions and 117 deletions

View File

@@ -289,14 +289,16 @@
d="M15 11a3 3 0 11-6 0 3 3 0 016 0z"
></path>
</svg>
{#if event.location_type === 'maps' && event.location_url}
{#if event.location_type === 'none'}
<span>N/A</span>
{:else if event.location_type === 'maps' && event.location_url}
<a
href={event.location_url}
target="_blank"
rel="noopener noreferrer"
class="text-slate-500 transition-colors duration-200 hover:text-slate-300"
>
{event.location}
{t('create.locationMapsOption')}
</a>
{:else}
<span>{event.location}</span>