fix(web): require button type (#9786)

This commit is contained in:
Michel Heusschen 2024-05-27 09:06:15 +02:00 committed by GitHub
parent fc5615eff6
commit 38f4a02a14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 113 additions and 59 deletions

View file

@ -84,10 +84,11 @@
</div>
{#if uploadAsset.state === UploadState.ERROR}
<div class="flex h-full flex-col place-content-evenly place-items-center justify-items-center pr-2">
<button on:click={() => handleRetry(uploadAsset)} title="Retry upload" class="flex text-sm">
<button type="button" on:click={() => handleRetry(uploadAsset)} title="Retry upload" class="flex text-sm">
<span class="text-immich-dark-gray dark:text-immich-dark-fg"><Icon path={mdiRefresh} size="20" /></span>
</button>
<button
type="button"
on:click={() => uploadAssetsStore.removeUploadAsset(uploadAsset.id)}
title="Dismiss error"
class="flex text-sm"