navigation

This commit is contained in:
Julian Krauser 2025-03-30 17:24:17 +02:00
parent f951a1cd4c
commit 8be88a5245
16 changed files with 229 additions and 144 deletions

View file

@ -22,7 +22,7 @@ import { useAbilityStore } from "@/stores/ability";
import { useDamageReportStore } from "@/stores/admin/unit/damageReport/damageReport";
import type { DamageReportViewModel } from "@/viewmodels/admin/unit/damageReport/damageReport.models";
import Pagination from "@/components/Pagination.vue";
import DamageReportListItem from "../../../../components/admin/unit/damageReport/DamageReportListItem.vue";
import DamageReportListItem from "@components/admin/unit/damageReport/DamageReportListItem.vue";
</script>
<script lang="ts">

View file

@ -38,7 +38,6 @@ import { defineAsyncComponent, defineComponent, markRaw } from "vue";
import { mapActions, mapState } from "pinia";
import MainTemplate from "@/templates/Main.vue";
import { RouterLink, RouterView } from "vue-router";
import { PencilIcon, TrashIcon } from "@heroicons/vue/24/outline";
import { useModalStore } from "@/stores/modal";
import { useAbilityStore } from "@/stores/ability";
import { useEquipmentStore } from "@/stores/admin/unit/equipment/equipment";
@ -69,7 +68,7 @@ export default defineComponent({
...mapActions(useModalStore, ["openModal"]),
openDeleteModal() {
this.openModal(
markRaw(defineAsyncComponent(() => import("@/components/admin/club/member/DeleteMemberModal.vue"))),
markRaw(defineAsyncComponent(() => import("@/components/admin/unit/member/DeleteMemberModal.vue"))),
this.equipmentId ?? ""
);
},