GODT-2258: change login label and suggest email instead of username.

This commit is contained in:
Xavier Michelon
2023-01-17 11:29:28 +01:00
parent a377384553
commit fe009ca235
7 changed files with 21 additions and 11 deletions

View File

@ -64,7 +64,7 @@ Item {
}
function primaryEmail() {
return (root.user && (root.user.addresses.length > 0)) ? root.user.addresses[0] : ""
return root.user ? root.user.primaryEmailOrUsername() : ""
}
// width expected to be set by parent object