diff --git a/src/components/ChatSettingsComponent.vue b/src/components/ChatSettingsComponent.vue
index afcbea5..cfb48b6 100644
--- a/src/components/ChatSettingsComponent.vue
+++ b/src/components/ChatSettingsComponent.vue
@@ -34,6 +34,30 @@
Gruppenchat verlassen
Grupepnchat löschen
+
+
+ Gruppenbild ändern
+
+
+
+
+
+
@@ -43,9 +67,12 @@
import { computed, ref } from 'vue';
import ProfileCardComponent from './ProfileCardComponent.vue';
import { useUserStore } from 'src/stores/user-store';
+import { profilePicture } from 'src/models';
+import { useChatStore } from 'src/stores/chat-store';
const showDialog = ref(true);
const userStore = useUserStore();
+ const chatStore = useChatStore();
const emit = defineEmits(['update:showDialog', 'showModal']);
const props = defineProps({
@@ -61,6 +88,10 @@ import { useUserStore } from 'src/stores/user-store';
const closeDialog = () => {
emit('showModal', true);
}
+
+ const selectProfilePicture = (image: profilePicture) => {
+ props.chat!.profilepicture = image.url;
+ }
\ No newline at end of file