Added extra rennes reviews

This commit is contained in:
Alexis
2026-02-15 16:34:41 +01:00
parent ace0623ff8
commit 72ffa5792b
2 changed files with 42 additions and 2 deletions

View File

@@ -1,8 +1,12 @@
<script lang="ts" setup>
import { useMap } from '@/stores/map';
import { useParisTokensStore } from '@/stores/parisTokens';
import { useReviewStore } from '@/stores/reviews';
import { storeToRefs } from 'pinia';
const { activeLayers } = storeToRefs(useMap())
const { markers: restaurants } = useReviewStore()
const { markers: tokens } = useParisTokensStore()
function handleTokenClick() {
activeLayers.value.tokens = !activeLayers.value.tokens
@@ -39,7 +43,7 @@ function handleFoodClick() {
</svg>
<span>
Restaurants
Restaurants <small>({{ restaurants.length }})</small>
</span>
</button>
</li>
@@ -61,7 +65,7 @@ function handleFoodClick() {
</svg>
<span>
Monnaie de Paris
Monnaie de Paris <small>({{ tokens.length }})</small>
</span>
</button>
</li>