Added missing return

This commit is contained in:
Antoine Nguyen
2025-07-03 16:14:21 +02:00
parent 726a44b255
commit 3cb35d9bf0
+1 -1
View File
@@ -82,7 +82,7 @@ const userInitials = computed(() => {
return `${props.user.first_name[0].toUpperCase()}${props.user.last_name[0].toUpperCase()}`
}
if (props.user.username) {
props.user.username.slice(0, 2).toUpperCase()
return props.user.username.slice(0, 2).toUpperCase()
}
return ''
})