mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Added missing return
This commit is contained in:
@@ -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 ''
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user