display location
This commit is contained in:
parent
daa487fe26
commit
b0229c0817
1 changed files with 9 additions and 0 deletions
|
@ -11,6 +11,8 @@
|
||||||
import AssetPreview from './utils/AssetPreview.svelte';
|
import AssetPreview from './utils/AssetPreview.svelte';
|
||||||
import { createEventDispatcher } from 'svelte';
|
import { createEventDispatcher } from 'svelte';
|
||||||
import Fuse from 'fuse.js';
|
import Fuse from 'fuse.js';
|
||||||
|
import { FontAwesomeIcon } from '@fortawesome/svelte-fontawesome';
|
||||||
|
import { faLocationDot } from '@fortawesome/free-solid-svg-icons';
|
||||||
|
|
||||||
let dispatch = createEventDispatcher();
|
let dispatch = createEventDispatcher();
|
||||||
|
|
||||||
|
@ -162,6 +164,13 @@
|
||||||
</ExternalLink>
|
</ExternalLink>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
{#if entry.base.kind === "environment" && typeof entry.base.location === "string"}
|
||||||
|
<div class="mb-1">
|
||||||
|
<FontAwesomeIcon class="pr-2" icon={faLocationDot}/>
|
||||||
|
<span class="text-xl">{entry.base.location}</span>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
|
||||||
{#if entry.description != null}
|
{#if entry.description != null}
|
||||||
<EntryDescription>{entry.description}</EntryDescription>
|
<EntryDescription>{entry.description}</EntryDescription>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Reference in a new issue