diff --git a/ui/src/GameSpace/GameSpace.svelte b/ui/src/GameSpace/GameSpace.svelte index ef1568c..3582e60 100644 --- a/ui/src/GameSpace/GameSpace.svelte +++ b/ui/src/GameSpace/GameSpace.svelte @@ -146,26 +146,26 @@ {#if $state}
- {#if !$permissions.isArchived} -
- {#if !asAsset} +
+ {#if !asAsset} + + {#if weaveClient && !$permissions.isArchived} - {#if weaveClient} - - {/if} {/if} + {/if} + {#if !$permissions.isArchived} @@ -174,14 +174,19 @@ {/if} - {#if $state.isLibraryItem} -
- {/if} - -
+ {/if} + {#if $state.isLibraryItem} +
+ {/if} + +
+ {#if !$permissions.isArchived} gameSpace.leaveGame()} onChangePlayersSlots={handlePlayersSlotsChange} /> -
- {/if} + {/if} +
{#if !$permissions.isArchived} {#if sidebar === 'elementsLibrary' && $isSteward} diff --git a/ui/src/GameSpace/ui/NameTitleInput.svelte b/ui/src/GameSpace/ui/NameTitleInput.svelte index 342f9fd..4e67197 100644 --- a/ui/src/GameSpace/ui/NameTitleInput.svelte +++ b/ui/src/GameSpace/ui/NameTitleInput.svelte @@ -3,6 +3,7 @@ export let value: string; export let onChange: (value: string) => void; + export let disabled = false; function handleTitleBlur(ev: { currentTarget: HTMLHeadingElement }) { onChange(ev.currentTarget.innerText); @@ -17,11 +18,11 @@

{value}