From d1b8242e6d6ec101c54f385ffb3f56b84f6dc5c7 Mon Sep 17 00:00:00 2001 From: Sabu Siyad Date: Mon, 31 Jul 2023 15:50:11 +0530 Subject: [PATCH] fix: ticket details: missing get user --- desk/src/pages/desk/ticket/TicketDetails.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desk/src/pages/desk/ticket/TicketDetails.vue b/desk/src/pages/desk/ticket/TicketDetails.vue index 32abd96eb..a704694e8 100644 --- a/desk/src/pages/desk/ticket/TicketDetails.vue +++ b/desk/src/pages/desk/ticket/TicketDetails.vue @@ -97,7 +97,7 @@ const data = computed(() => ticket.value.data); const assignedTo = computed(() => { const assignJson = JSON.parse(data.value._assign); const user = assignJson.slice(-1).pop(); - const name = userStore.getUser(user).full_name; + const name = userStore.getUser(user)?.full_name || user; return name; });