fix location showing

This commit is contained in:
Georgi Gardev
2023-11-19 13:42:07 +02:00
parent ed8ff6c921
commit 0a39181af9

View File

@@ -16,7 +16,7 @@ export function App(props: PillProps) {
<div class={style.Text}>
<span class={style.Name}>{props.name}</span>
<span class={style.Url}>{props.url.split('://')[1].split('/')[0]}</span>
<Show when={appSettings.showLocations && location}>
<Show when={appSettings.showLocations && props.location}>
<span class={style.Url}>{props.location}</span>
</Show>
</div>