fix communication_type links

This commit is contained in:
Julian Krauser 2024-12-24 16:36:33 +01:00
parent 368169f80f
commit d1e935fe20
2 changed files with 4 additions and 4 deletions

View file

@ -4,12 +4,12 @@
<p>{{ communicationType.type }}</p>
<div class="flex flex-row">
<RouterLink
v-if="can('update', 'settings', 'communication')"
:to="{ name: 'admin-settings-communication-edit', params: { id: communicationType.id } }"
v-if="can('update', 'settings', 'communication_type')"
:to="{ name: 'admin-settings-communication_type-edit', params: { id: communicationType.id } }"
>
<PencilIcon class="w-5 h-5 p-1 box-content cursor-pointer" />
</RouterLink>
<div v-if="can('delete', 'settings', 'communication')" @click="openDeleteModal">
<div v-if="can('delete', 'settings', 'communication_type')" @click="openDeleteModal">
<TrashIcon class="w-5 h-5 p-1 box-content cursor-pointer" />
</div>
</div>

View file

@ -15,7 +15,7 @@
/>
</div>
<div class="flex flex-row gap-4">
<button v-if="can('create', 'settings', 'communication')" primary class="!w-fit" @click="openCreateModal">
<button v-if="can('create', 'settings', 'communication_type')" primary class="!w-fit" @click="openCreateModal">
Kommunikationsart erstellen
</button>
</div>