Removed useless lazy directives
This commit is contained in:
@@ -40,7 +40,7 @@ onMounted(() => {
|
|||||||
|
|
||||||
<component :is="currentViewComponent" />
|
<component :is="currentViewComponent" />
|
||||||
|
|
||||||
<LazyCalendarSearch />
|
<CalendarSearch />
|
||||||
<LazyCalendarDialogCategories v-if="!isReadOnly" />
|
<LazyCalendarDialogCategories v-if="!isReadOnly" />
|
||||||
<LazyCalendarDialogUpdateEvent v-if="!isReadOnly" />
|
<LazyCalendarDialogUpdateEvent v-if="!isReadOnly" />
|
||||||
<LazyCalendarDialogDeleteEvent v-if="!isReadOnly" />
|
<LazyCalendarDialogDeleteEvent v-if="!isReadOnly" />
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ onMounted(() => {
|
|||||||
</button>
|
</button>
|
||||||
</UiPopoverTrigger>
|
</UiPopoverTrigger>
|
||||||
|
|
||||||
<LazyCalendarEventDetails
|
<CalendarEventDetails
|
||||||
:event
|
:event
|
||||||
:spans-multiple-days
|
:spans-multiple-days
|
||||||
:is-start-event
|
:is-start-event
|
||||||
|
|||||||
@@ -64,21 +64,21 @@ watch(isLoading, (n) => {
|
|||||||
<div class="grid justify-items-center opacity-80">
|
<div class="grid justify-items-center opacity-80">
|
||||||
<PhCalendarX size="75" class="opacity-60" />
|
<PhCalendarX size="75" class="opacity-60" />
|
||||||
|
|
||||||
<LazyHeading level="h1">
|
<Heading level="h1">
|
||||||
{{ $t("entity.calendar.notFound") }}
|
{{ $t("entity.calendar.notFound") }}
|
||||||
</LazyHeading>
|
</Heading>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
{{ $t('entity.calendar.notFoundDescription') }}
|
{{ $t('entity.calendar.notFoundDescription') }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<LazyUiButton variant="default" class="mt-4 gap-2" as-child>
|
<UiButton variant="default" class="mt-4 gap-2" as-child>
|
||||||
<RouterLink to="/explore">
|
<RouterLink to="/explore">
|
||||||
<PhArrowBendDoubleUpLeft size="24" />
|
<PhArrowBendDoubleUpLeft size="24" />
|
||||||
|
|
||||||
{{ $t('entity.calendar.backToList') }}
|
{{ $t('entity.calendar.backToList') }}
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
</LazyUiButton>
|
</UiButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -153,8 +153,8 @@ function hideEditModal() {
|
|||||||
</Spacing>
|
</Spacing>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<LazyWorldDialogCreate :modal-state="isCreateWorldModalOpen" @on-close="hideCreateDialog" />
|
<WorldDialogCreate :modal-state="isCreateWorldModalOpen" @on-close="hideCreateDialog" />
|
||||||
<LazyWorldDialogEdit :world="markedWorld" :modal-state="isEditWorldModalOpen" @on-close="hideEditModal" />
|
<WorldDialogEdit :world="markedWorld" :modal-state="isEditWorldModalOpen" @on-close="hideEditModal" />
|
||||||
<LazyWorldDialogDelete :world="markedWorld" :modal-state="isDeleteWorldModalOpen" @on-close="hideDeleteModal" />
|
<WorldDialogDelete :world="markedWorld" :modal-state="isDeleteWorldModalOpen" @on-close="hideDeleteModal" />
|
||||||
</main>
|
</main>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -251,10 +251,10 @@ function hideEditModal() {
|
|||||||
</Spacing>
|
</Spacing>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<LazyWorldDialogEdit :world="world.data" :modal-state="isEditWorldModalOpen" @on-close="hideEditModal" />
|
<WorldDialogEdit :world="world.data" :modal-state="isEditWorldModalOpen" @on-close="hideEditModal" />
|
||||||
<LazyCalendarDialogCreate :world="world.data" :modal-state="isCreateCalendarModalOpen" @on-close="hideCreateDialog" />
|
<CalendarDialogCreate :world="world.data" :modal-state="isCreateCalendarModalOpen" @on-close="hideCreateDialog" />
|
||||||
<LazyCalendarDialogUpdate v-if="markedCalendar?.id" :world="world.data" :calendar="markedCalendar" :modal-state="isUpdateCalendarModalOpen" @on-close="hideUpdateDialog" />
|
<CalendarDialogUpdate :world="world.data" :calendar="markedCalendar" :modal-state="isUpdateCalendarModalOpen" @on-close="hideUpdateDialog" />
|
||||||
<LazyCalendarDialogDelete :calendar="markedCalendar" :modal-state="isDeleteCalendarModalOpen" @on-close="hideDeleteCalendarModal"/>
|
<CalendarDialogDelete :calendar="markedCalendar" :modal-state="isDeleteCalendarModalOpen" @on-close="hideDeleteCalendarModal"/>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="h-full w-full grid place-items-center">
|
<div class="h-full w-full grid place-items-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user