forked from MapComplete/MapComplete
Fix(reviews): review overview doesn't crash anymore if you reviewed the same place twice or more
This commit is contained in:
parent
0b5b56b48a
commit
1ba3c5d6f3
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
{#if $reviews?.length > 0}
|
{#if $reviews?.length > 0}
|
||||||
<div class="flex flex-col gap-y-1" on:keypress={(e) => console.log("Got keypress", e)}>
|
<div class="flex flex-col gap-y-1" on:keypress={(e) => console.log("Got keypress", e)}>
|
||||||
{#each $reviews as review (review.sub)}
|
{#each $reviews as review}
|
||||||
<SingleReview {review} showSub={true} {state} />
|
<SingleReview {review} showSub={true} {state} />
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue