diff --git a/frontend/src/modules/contributor/components/details/overview/contributor-details-community.vue b/frontend/src/modules/contributor/components/details/overview/contributor-details-community.vue index 262158e8b9..ec4913383b 100644 --- a/frontend/src/modules/contributor/components/details/overview/contributor-details-community.vue +++ b/frontend/src/modules/contributor/components/details/overview/contributor-details-community.vue @@ -2,6 +2,7 @@
+
{{ segmentName }}
Community snapshot
@@ -96,10 +97,16 @@ import LfLoading from '@/ui-kit/loading/Loading.vue'; import { MergeActionState } from '@/shared/modules/merge/types/MemberActions'; import LfContributorDetailsMaintainer from '@/modules/contributor/components/details/overview/contributor-details-maintainer.vue'; +import { computed } from 'vue'; +import { getSegmentName } from '@/utils/segments'; const props = defineProps<{ contributor: Contributor, }>(); + +const segmentName = computed(() => { + return props.contributor.segments?.[0] ? getSegmentName(props.contributor.segments[0]) : ''; +});