From 265898bd1ada61af2632102d38e062adbaf53f68 Mon Sep 17 00:00:00 2001 From: Eric Harris-Braun Date: Tue, 19 Dec 2023 17:14:19 -0500 Subject: [PATCH] remove buttons in board-menu hover --- ui/src/BoardMenuItem.svelte | 62 ++++++++++--------------------------- 1 file changed, 17 insertions(+), 45 deletions(-) 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} -