{#if $boardData.status == "complete"}
{@const latestState = $boardData.value.latestState}
- {latestState.props.description}
-
-
-
-
{
- e.stopPropagation()
- exportBoard(latestState)
- }} title="Export">
-
- Export
-
-
- {#if boardType == BoardType.active}
-
{
- e.stopPropagation()
- archiveBoard()
- }}
- title="Archive"
- >Archive
- {:else}
-
{
- e.stopPropagation()
- unarchiveBoard()
- }}
- title="Unarchive"
- >Unarchive
- {/if}
-
- {:else if $boardData.status == "pending"}
-
+ {#if latestState.props.description}
+
{latestState.props.description}
+ {/if}
{/if}
-