diff --git a/components/MainNav.vue b/components/MainNav.vue
index 70e6681..123c708 100644
--- a/components/MainNav.vue
+++ b/components/MainNav.vue
@@ -51,11 +51,14 @@ const links = computed(() => {
label: "E-Mail",
to: "/email/new",
icon: "i-heroicons-envelope"
- },
- {
+ }, {
label: "Logbücher",
to: "/communication/historyItems",
- icon: "i-heroicons-envelope"
+ icon: "i-heroicons-book-open"
+ }, {
+ label: "Chats",
+ to: "/chats",
+ icon: "i-heroicons-chat-bubble-left"
}
]
},
diff --git a/pages/chats/create.vue b/pages/chats/create.vue
new file mode 100644
index 0000000..743e035
--- /dev/null
+++ b/pages/chats/create.vue
@@ -0,0 +1,119 @@
+
+
+
+
+
+
+ Chats
+
+
+
+ Chat Erstellen
+
+
+
+ Erstellen
+
+
+ Abbrechen
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{selectedProfiles.length > 0 ? selectedProfiles.map(i => dataStore.getProfileById(i).fullName).join(", ") : "Keine Benutzer ausgewählt"}}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/chats/index.vue b/pages/chats/index.vue
new file mode 100644
index 0000000..9b38686
--- /dev/null
+++ b/pages/chats/index.vue
@@ -0,0 +1,125 @@
+
+
+
+
+
+
+
+
+
+
+
+ + Chat
+
+
+
+
+
+
+ Spalten
+
+
+
+
+ router.push(`/chats/show/${i.id}`) "
+ :empty-state="{ icon: 'i-heroicons-circle-stack-20-solid', label: 'Keine Chats anzuzeigen' }"
+ >
+
+ {{row.name}}
+ {{row.name}}
+
+
+ {{row.profiles.map(i => i.fullName).join(", ")}}
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/chats/show/[id].vue b/pages/chats/show/[id].vue
new file mode 100644
index 0000000..94d1c53
--- /dev/null
+++ b/pages/chats/show/[id].vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file