When adding a comments, it is visible on the client

This commit is contained in:
Jonathan Bourdon
2024-07-20 03:16:35 -04:00
parent e1caef71b2
commit d392730c98
5 changed files with 666 additions and 692 deletions

View File

@@ -45,13 +45,16 @@ const props = defineProps({
subjectId: {
type: String,
required: true
},
messages: {
default: []
}
});
const errorMessage = ref()
let last_id = null
const client = useClient();
const messages = ref([]);
const messages = ref(props.messages);
onBeforeMount(async () => {
if (props.subjectId == null) return