Skip to content

Commit

Permalink
Merge pull request #1400 from ssiyad/fix/missing_get_user
Browse files Browse the repository at this point in the history
fix: ticket details: missing get user
  • Loading branch information
ssiyad authored Jul 31, 2023
2 parents f3bd437 + d1b8242 commit 7ca0385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desk/src/pages/desk/ticket/TicketDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit 7ca0385

Please sign in to comment.