diff --git a/components/DraggableWindow.vue b/components/DraggableWindow.vue index c84d210..acccd11 100644 --- a/components/DraggableWindow.vue +++ b/components/DraggableWindow.vue @@ -33,8 +33,10 @@ const titleOrg = computed(() => props.title); const titleMaxRegexDetection = /[a-zA-Z0-9]{,10}/; const title = ref("Draggable Window"); onMounted(() => { - if (!titleMaxRegexPattern.test(titleOrg.value)) { + if (!titleMaxRegexDetection.test(titleOrg)) { console.log("Max Detected!!"); + } else { + title.value = titleOrg; } }); diff --git a/components/app/windows/chatbot.vue b/components/app/windows/chatbot.vue index 7263ef2..37c0edc 100644 --- a/components/app/windows/chatbot.vue +++ b/components/app/windows/chatbot.vue @@ -138,6 +138,7 @@ const formatTime = (timestamp: any) => { minute: "2-digit", }).format(timestamp); }; +const scrollToBottom = () => {};