You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
333 B
20 lines
333 B
<script>
|
|
import ActivityIcon from "./ActivityIcon.svelte";
|
|
|
|
export let item = null
|
|
export let id = ""
|
|
</script>
|
|
|
|
{#if item != null}
|
|
<span>{item.name}</span>
|
|
{:else if id != ""}
|
|
<span class="unknown">(Deleted)</span>
|
|
{:else}
|
|
<span class="unknown">(None)</span>
|
|
{/if}
|
|
|
|
<style>
|
|
span.unknown {
|
|
color: #555;
|
|
}
|
|
</style>
|