Skip to content

Commit

Permalink
feat(photo): affiche soit l'ancien soit le nouveau choix
Browse files Browse the repository at this point in the history
  • Loading branch information
jillro committed Jul 22, 2024
1 parent 0d8a603 commit 3f9a6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Photo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
on:change={updatePreview}
bind:this={input}
/>
{#if initialData}
{#if initialData && !previewURI}
<img src={initialData} alt="Profil" style="width: 200px; height: auto;" />
<input type="checkbox" id="delete_{id}" name="delete_{id}" />
<label for="delete_{id}">Supprimer ma photo</label>
Expand Down

0 comments on commit 3f9a6b2

Please sign in to comment.