Sign in to your account
LibreDesk
+Libredesk
LibreDesk
+Libredesk
Hello {{ .agent.full_na
- LibreDesk + Libredesk
diff --git a/frontend/README.md b/frontend/README.md index b6d2e17..66a31e6 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -1,4 +1,4 @@ -# LibreDesk frontend +# Libredesk frontend This template should help get you started developing with Vue 3 in Vite. diff --git a/frontend/src/features/conversation/sidebar/ConversationInfo.vue b/frontend/src/features/conversation/sidebar/ConversationInfo.vue index 237acb2..09c558f 100644 --- a/frontend/src/features/conversation/sidebar/ConversationInfo.vue +++ b/frontend/src/features/conversation/sidebar/ConversationInfo.vue @@ -17,9 +17,10 @@
Initiated at
+
{{ format(conversation.created_at, 'PPpp') }}
+-
diff --git a/frontend/src/router/index.js b/frontend/src/router/index.js
index 6c0b815..da05be9 100644
--- a/frontend/src/router/index.js
+++ b/frontend/src/router/index.js
@@ -437,7 +437,7 @@ const router = createRouter({
})
router.beforeEach((to, from, next) => {
- document.title = to.meta.title + ' - LibreDesk'
+ document.title = to.meta.title + ' - Libredesk'
next()
})
diff --git a/frontend/src/stores/conversation.js b/frontend/src/stores/conversation.js
index 204eed1..4723fd1 100644
--- a/frontend/src/stores/conversation.js
+++ b/frontend/src/stores/conversation.js
@@ -185,6 +185,7 @@ export const useConversationStore = defineStore('conversation', () => {
const conversationsList = computed(() => {
if (!conversations.data) return []
+ // Sort conversations based on the selected sort field
return [...conversations.data].sort((a, b) => {
const field = sortFieldMap[conversations.sortField]?.field
if (!a[field] && !b[field]) return 0
@@ -223,7 +224,7 @@ export const useConversationStore = defineStore('conversation', () => {
}
const current = computed(() => {
- return conversation.data
+ return conversation.data || {}
})
const currentBCC = computed(() => {
diff --git a/frontend/src/views/login/UserLoginView.vue b/frontend/src/views/login/UserLoginView.vue
index 0801f29..7eb0b84 100644
--- a/frontend/src/views/login/UserLoginView.vue
+++ b/frontend/src/views/login/UserLoginView.vue
@@ -1,7 +1,7 @@
Sign in to your account Hello {{ .agent.full_na
LibreDesk
+ Libredesk
LibreDesk
+ Libredesk
LibreDesk
+ Libredesk
- LibreDesk
+ Libredesk