mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 01:46:07 +00:00
fix the fix
This commit is contained in:
parent
da13d9b265
commit
6fdcb0a86d
@ -22,10 +22,13 @@ export class GmsUser {
|
||||
this.lastName = ln !== '' ? ln : null // getGmsLastName(user)
|
||||
this.alias = pnLogic.getPublicName(user.gmsPublishName as PublishNameType)
|
||||
this.type = user.gmsPublishLocation // GmsPublishLocationType.GMS_LOCATION_TYPE_RANDOM
|
||||
this.location = user.location
|
||||
if ((this.type as GmsPublishLocationType) === GmsPublishLocationType.GMS_LOCATION_TYPE_RANDOM) {
|
||||
this.type = GmsPublishLocationType.GMS_LOCATION_TYPE_APPROXIMATE
|
||||
}
|
||||
this.location = user.location
|
||||
if (!this.location) {
|
||||
this.type = GmsPublishLocationType.GMS_LOCATION_TYPE_RANDOM
|
||||
}
|
||||
}
|
||||
|
||||
id: number
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user