diff --git a/pages/support/create.vue b/pages/support/create.vue
index d683999..19b99f1 100644
--- a/pages/support/create.vue
+++ b/pages/support/create.vue
@@ -32,8 +32,9 @@ const createTicket = async () => {
if(messageError) {
console.log(messageError)
} else {
+ console.log(ticketData)
+ useFunctions().useSendTelegramNotification(`Ticket von ${profileStore.activeProfile.fullName} erstellt : ${itemInfo.value.content}`)
router.push(`/support/${ticketData.id}`)
- await useFunctions().useSendTelegramNotification(`Ticket von ${profileStore.activeProfile.fullName} erstellt : ${itemInfo.value.content}`)
}
}
}
diff --git a/pages/support/index.vue b/pages/support/index.vue
index 19dc77e..3c3bb3c 100644
--- a/pages/support/index.vue
+++ b/pages/support/index.vue
@@ -34,11 +34,15 @@ setup()
:rows="tickets"
:empty-state="{ icon: 'i-heroicons-circle-stack-20-solid', label: `Keine Tickets anzuzeigen` }"
@select="(i) => router.push(`/support/${i.id}`)"
- :columns="[{key:'created_at',label:'Datum'}, ...profileStore.currentTenant === 5 ? [{key:'tenant',label:'Tenant'}] : [],{key:'title',label:'Titel'},{key:'created_by',label:'Ersteller'},{key:'ticketmessages',label:'Nachrichten'}]"
+ :columns="[{key:'created_at',label:'Datum'}, ...profileStore.currentTenant === 5 ? [{key:'tenant',label:'Tenant'}] : [],{key:'status',label:'Status'},{key:'title',label:'Titel'},{key:'created_by',label:'Ersteller'},{key:'ticketmessages',label:'Nachrichten'}]"
>
{{row.tenant.name}}
+
+ Offen
+ Geschlossen
+
{{row.created_by.fullName}}