diff --git a/src/plugins/schedule/components/management/Eventtypes.vue b/src/plugins/schedule/components/management/Eventtypes.vue
index 50ad988..0e1d629 100644
--- a/src/plugins/schedule/components/management/Eventtypes.vue
+++ b/src/plugins/schedule/components/management/Eventtypes.vue
@@ -34,7 +34,7 @@
icon="mdi-pencil"
@click="editType({ id: props.row.id, name: props.row.name })"
/>
-
+
@@ -114,8 +114,8 @@ export default defineComponent({
edittype.value = false;
}
- function deleteType(name: string) {
- void store.dispatch('schedule/removeEventType', name);
+ function deleteType(id: number) {
+ void store.dispatch('schedule/removeEventType', id);
}
return {
columns,
diff --git a/src/plugins/schedule/components/overview/slots/EventSlot.vue b/src/plugins/schedule/components/overview/slots/EventSlot.vue
index 52c4e55..d6dc3cc 100644
--- a/src/plugins/schedule/components/overview/slots/EventSlot.vue
+++ b/src/plugins/schedule/components/overview/slots/EventSlot.vue
@@ -68,7 +68,7 @@