fix vue warnings

This commit is contained in:
Avris 2021-08-19 17:33:48 +02:00
parent d8717f77eb
commit 57322d30af
4 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@
</div>
<div class="card-body">
<ul class="list-unstyled mb-0">
<CalendarEvent v-for="event in currentYear.eventsByDate[d.toString()]" :event="event"/>
<CalendarEvent v-for="event in currentYear.eventsByDate[d.toString()]" :event="event" :key="event.name"/>
</ul>
</div>
</div>

View File

@ -5,7 +5,7 @@
<T>calendar.banner</T>:
</p>
<ul class="list-unstyled my-3 ms-3">
<CalendarEvent v-for="event in events" :event="event"/>
<CalendarEvent v-for="event in events" :event="event" :key="event.name"/>
</ul>
<nuxt-link v-if="link" :to="`/${config.calendar.route}`" class="small">
<Icon v="angle-right"/>

View File

@ -1,6 +1,6 @@
<template>
<ul class="list-unstyled mb-0">
<CalendarEvent v-for="event in events" :event="event" :range="year"/>
<CalendarEvent v-for="event in events" :event="event" :range="year" :key="event.name"/>
</ul>
</template>

View File

@ -2585,9 +2585,9 @@ caniuse-api@^3.0.0:
lodash.uniq "^4.5.0"
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001181, caniuse-lite@^1.0.30001191:
version "1.0.30001192"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001192.tgz#b848ebc0ab230cf313d194a4775a30155d50ae40"
integrity sha512-63OrUnwJj5T1rUmoyqYTdRWBqFFxZFlyZnRRjDR8NSUQFB6A+j/uBORU/SyJ5WzDLg4SPiZH40hQCBNdZ/jmAw==
version "1.0.30001251"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001251.tgz"
integrity sha512-HOe1r+9VkU4TFmnU70z+r7OLmtR+/chB1rdcJUeQlAinjEeb0cKL20tlAtOagNZhbrtLnCvV19B4FmF1rgzl6A==
canvas@^2.6.1:
version "2.7.0"