This commit is contained in:
2022-02-23 01:08:06 +00:00
parent 384c5f6869
commit 10d794ec5a
2 changed files with 32 additions and 30 deletions

View File

@@ -10,35 +10,37 @@
v-on="$listeners"
>
<template slot="main">
<v-calendar
color="primary"
type="day"
hide-header
interval-height="36"
:interval-count="intervalCount"
:first-time="startAt"
:events="events"
:event-color="getEventColor"
:locale="languageName"
@click:event="showEvent"
>
<template v-slot:event="{ event, eventSummary }">
<div>
<!-- eslint-disable vue/no-v-html -->
<span
:class="event.textColor + '--text'"
v-html="eventSummary()"
/><v-icon
v-if="!event.editable"
x-small
:color="event.textColor"
class="ml-n3"
>
$ayiLock</v-icon
>
</div>
</template>
</v-calendar>
<div>
<v-calendar
color="primary"
type="day"
hide-header
interval-height="30"
:interval-count="intervalCount"
:first-time="startAt"
:events="events"
:event-color="getEventColor"
:locale="languageName"
@click:event="showEvent"
>
<template v-slot:event="{ event, eventSummary }">
<div>
<!-- eslint-disable vue/no-v-html -->
<span
:class="event.textColor + '--text'"
v-html="eventSummary()"
/><v-icon
v-if="!event.editable"
x-small
:color="event.textColor"
class="ml-n3"
>
$ayiLock</v-icon
>
</div>
</template>
</v-calendar>
</div>
</template>
</gz-dash>
</template>