Skip to content

Commit

Permalink
fix(MdDatepicker): avoid warning for duplicated keys (#1379)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuell1 authored and marcosmoura committed Jan 5, 2018
1 parent a4c03be commit 70712d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/MdDatepicker/MdDatepickerDialog.vue
Expand Up @@ -35,8 +35,8 @@
</div>

<div class="md-datepicker-days">
<span class="md-datepicker-empty" v-for="day in firstDayOfMonth" :key="day"></span>
<div class="md-datepicker-day" v-for="day in daysInMonth" :key="day">
<span class="md-datepicker-empty" v-for="day in firstDayOfMonth" :key="'day-empty-'+day"></span>
<div class="md-datepicker-day" v-for="day in daysInMonth" :key="'day-'+day">
<span
class="md-datepicker-day-button"
:class="{
Expand Down

0 comments on commit 70712d7

Please sign in to comment.