diff --git a/ui/src/components/application/ApplicationChat.vue b/ui/src/components/application/ApplicationChat.vue index b6d930c..fb8f8bf 100644 --- a/ui/src/components/application/ApplicationChat.vue +++ b/ui/src/components/application/ApplicationChat.vue @@ -17,9 +17,12 @@ import { Dot } from 'lucide-vue-next' import { ref } from 'vue' import MemberCard from '../members/MemberCard.vue' -const props = defineProps<{ +const props = withDefaults(defineProps<{ messages: CommentRow[] -}>() + adminMode?: boolean +}>(), { + adminMode: false, +}) const emit = defineEmits<{ (e: 'post', text: string): void @@ -60,7 +63,7 @@ function onSubmit(values: { text: string }, { resetForm }: { resetForm: () => vo