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.
17 lines
433 B
17 lines
433 B
<script lang="ts">
|
|
import StatusColor from "./StatusColor.svelte";
|
|
|
|
export let selected: boolean = false;
|
|
export let status: string = "to do";
|
|
export let number: number | null | undefined = void(0);
|
|
|
|
let entry: {statusTag: string}
|
|
|
|
$: entry = {statusTag: status};
|
|
</script>
|
|
|
|
{#if (!!number)}
|
|
<StatusColor selected={selected} affects="project" entry={entry}>
|
|
<div class="sccfg">{number}</div>
|
|
</StatusColor>
|
|
{/if}
|