diff --git a/src/components/MyKiva/MyKivaProfile.vue b/src/components/MyKiva/MyKivaProfile.vue index 8cd0aefa8e..30e5584bf0 100644 --- a/src/components/MyKiva/MyKivaProfile.vue +++ b/src/components/MyKiva/MyKivaProfile.vue @@ -53,7 +53,9 @@ const props = defineProps({ const { lender, userInfo } = toRefs(props); const lenderName = computed(() => { - return userInfo?.value?.userAccount?.firstName ?? ''; + const firstName = userInfo?.value?.userAccount?.firstName ?? ''; + const lastName = userInfo?.value?.userAccount?.lastName ?? ''; + return `${firstName} ${lastName}`; }); const lenderImageUrl = computed(() => { diff --git a/src/graphql/query/myKiva.graphql b/src/graphql/query/myKiva.graphql index 0a5c738406..0a5ad30b6d 100644 --- a/src/graphql/query/myKiva.graphql +++ b/src/graphql/query/myKiva.graphql @@ -57,6 +57,7 @@ query myKivaQuery { userAccount { id firstName + lastName balance } trustee {