#15-messages #22

Merged
jkeffects merged 19 commits from #15-messages into main 2024-12-31 13:25:27 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit d1e935fe20 - Show all commits

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>