[feat] download enchantments

This commit is contained in:
kwaroran
2023-06-18 21:58:12 +09:00
parent fb9bd8d342
commit 1d838b4140
6 changed files with 62 additions and 30 deletions

View File

@@ -663,12 +663,9 @@
<button on:click={async () => {
exportChar($selectedCharID)
}} class="text-neutral-200 mt-6 text-lg bg-transparent border-solid border-1 border-borderc p-4 hover:bg-green-500 transition-colors cursor-pointer">{language.exportCharacter}</button>
{#if $DataBase.useExperimental}
<button on:click={async () => {
openHubUpload = true
}} class="text-neutral-200 mt-2 text-lg bg-transparent border-solid border-1 border-borderc p-4 hover:bg-green-500 transition-colors cursor-pointer">{language.shareCloud} <Help key="experimental" /></button>
{/if}
<button on:click={async () => {
openHubUpload = true
}} class="text-neutral-200 mt-2 text-lg bg-transparent border-solid border-1 border-borderc p-4 hover:bg-green-500 transition-colors cursor-pointer">{language.shareCloud}</button>
{#if openHubUpload}
<HubUpload bind:char={currentChar.data} close={() => {openHubUpload=false}}/>
{/if}