fixes edit map reactivity issues
This commit is contained in:
@@ -488,7 +488,7 @@
|
||||
icon: "fa-regular fa-circle",
|
||||
fontSize: "xs",
|
||||
width: 4,
|
||||
backgroundColor: "primary",
|
||||
backgroundColor: "bg-primary",
|
||||
fontColor: "white",
|
||||
},
|
||||
{},
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
/>
|
||||
<div class="flex overflow-x-auto gap-x-3">
|
||||
{#each (photos ?? []).concat(photoPreviews) as photo, i}
|
||||
<div class="shrink-0 grow-0 basis-auto overflow-hidden">
|
||||
<div class="shrink-0 grow-0 basis-auto">
|
||||
<PhotoCard
|
||||
src={i >= photos.length ? photo : getFileURL(parent, photo)}
|
||||
on:delete={() => handlePhotoDelete(i)}
|
||||
|
||||
Reference in New Issue
Block a user