Skip to content

Commit fbeebda

Browse files
authored
Merge pull request charliekassel#2 from smilee/development
Delete redundant line
2 parents 16aea03 + 31174b2 commit fbeebda

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/Datepicker.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
@click="isRtl ? nextMonth() : previousMonth()"
4040
class="prev"
4141
v-bind:class="{ 'disabled' : isRtl ? nextMonthDisabled(pageTimestamp) : previousMonthDisabled(pageTimestamp) }">&lt;</span>
42-
<span @click="showMonthCalendar" :class="allowedToShowView('month') ? 'up' : ''" v-if="!isYmd">{{ currMonthName }} {{ currYear }}</span>
43-
<span @click="showMonthCalendar" :class="allowedToShowView('month') ? 'up' : ''" v-else>{{ currYear }} {{ currMonthName }}</span>
42+
<span @click="showMonthCalendar" :class="allowedToShowView('month') ? 'up' : ''">{{ isYmd ? currYear : currMonthName }} {{ isYmd ? currMonthName : currYear }}</span>
4443
<span
4544
@click="isRtl ? previousMonth() : nextMonth()"
4645
class="next"

0 commit comments

Comments
 (0)