Redefine Location's new status from latest photo's creation date
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
export let locations: any
|
||||
|
||||
|
||||
const { continents, settings: { explore_list }} = getContext('global')
|
||||
|
||||
// Continents filtering logic
|
||||
@@ -60,7 +61,10 @@
|
||||
in:receive={{ key: location.slug }}
|
||||
out:send={{ key: location.slug }}
|
||||
>
|
||||
<Location {location} />
|
||||
<Location
|
||||
location={location}
|
||||
latestPhoto={location.photos[0]}
|
||||
/>
|
||||
</li>
|
||||
{/each}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user