Skip to content

Commit 70712d7

Browse files
Samuell1marcosmoura
authored andcommitted
fix(MdDatepicker): avoid warning for duplicated keys (#1379)
1 parent a4c03be commit 70712d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/MdDatepicker/MdDatepickerDialog.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
</div>
3636

3737
<div class="md-datepicker-days">
38-
<span class="md-datepicker-empty" v-for="day in firstDayOfMonth" :key="day"></span>
39-
<div class="md-datepicker-day" v-for="day in daysInMonth" :key="day">
38+
<span class="md-datepicker-empty" v-for="day in firstDayOfMonth" :key="'day-empty-'+day"></span>
39+
<div class="md-datepicker-day" v-for="day in daysInMonth" :key="'day-'+day">
4040
<span
4141
class="md-datepicker-day-button"
4242
:class="{

0 commit comments

Comments
 (0)