diff --git a/ui/src/BoardMenuItem.svelte b/ui/src/BoardMenuItem.svelte index 395240f..6264733 100644 --- a/ui/src/BoardMenuItem.svelte +++ b/ui/src/BoardMenuItem.svelte @@ -66,10 +66,10 @@ menu.hide() }}> {#if board.session} - - - Leave - + + + Leave + {/if} @@ -92,56 +92,28 @@ {$boardData.error} {/if} -
{#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} -